diff --git a/src/at.c b/src/at.c index 56dbe76..cb79b10 100644 --- a/src/at.c +++ b/src/at.c @@ -73,10 +73,10 @@ gboolean at_send_command(struct EG25Manager *manager) int ret, len = 0, pos = 0; if (at_cmd) { - /* Wake up the modem from soft sleep before sending an AT command */ - gpio_sequence_wake(manager); + /* Wake up the modem from soft sleep before sending an AT command */ + gpio_sequence_wake(manager); - /* Send AT command */ + /* Send AT command */ if (at_cmd->subcmd == NULL && at_cmd->value == NULL && at_cmd->expected == NULL) len = snprintf(command, sizeof(command), "AT+%s\r\n", at_cmd->cmd); else if (at_cmd->subcmd == NULL && at_cmd->value == NULL) @@ -126,8 +126,8 @@ gboolean at_send_command(struct EG25Manager *manager) g_message("Successfully sent command: %s", g_strstrip(command)); } else { - /* Allow the modem to enter soft sleep again when we sent the AT command*/ - gpio_sequence_sleep(manager); + /* Allow the modem to enter soft sleep again when we sent the AT command*/ + gpio_sequence_sleep(manager); if (manager->modem_state < EG25_STATE_CONFIGURED) { if (manager->modem_iface == MODEM_IFACE_MODEMMANAGER) {