mirror of
https://gitlab.com/mobian1/eg25-manager.git
synced 2025-08-30 07:42:23 +02:00
at_send_command: call at_next_command on failure
This commit is contained in:
1
src/at.c
1
src/at.c
@@ -70,6 +70,7 @@ gboolean at_send_command(struct EG25Manager *manager)
|
|||||||
|
|
||||||
if (len < 0 || len >= sizeof(command)) {
|
if (len < 0 || len >= sizeof(command)) {
|
||||||
g_warning("AT command does not fit into buffer\n");
|
g_warning("AT command does not fit into buffer\n");
|
||||||
|
at_next_command(manager);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user