at: fix indentation

A few tabs slipped in here, convert them to spaces.
This commit is contained in:
Aren Moynihan
2024-10-28 10:37:18 -04:00
parent b000a75238
commit ec96153b0f

View File

@@ -73,10 +73,10 @@ gboolean at_send_command(struct EG25Manager *manager)
int ret, len = 0, pos = 0; int ret, len = 0, pos = 0;
if (at_cmd) { if (at_cmd) {
/* Wake up the modem from soft sleep before sending an AT command */ /* Wake up the modem from soft sleep before sending an AT command */
gpio_sequence_wake(manager); gpio_sequence_wake(manager);
/* Send AT command */ /* Send AT command */
if (at_cmd->subcmd == NULL && at_cmd->value == NULL && at_cmd->expected == NULL) 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); len = snprintf(command, sizeof(command), "AT+%s\r\n", at_cmd->cmd);
else if (at_cmd->subcmd == NULL && at_cmd->value == NULL) 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)); g_message("Successfully sent command: %s", g_strstrip(command));
} else { } else {
/* Allow the modem to enter soft sleep again when we sent the AT command*/ /* Allow the modem to enter soft sleep again when we sent the AT command*/
gpio_sequence_sleep(manager); gpio_sequence_sleep(manager);
if (manager->modem_state < EG25_STATE_CONFIGURED) { if (manager->modem_state < EG25_STATE_CONFIGURED) {
if (manager->modem_iface == MODEM_IFACE_MODEMMANAGER) { if (manager->modem_iface == MODEM_IFACE_MODEMMANAGER) {