From aabe4df41c9bbf3f80b91a170104d4e05bb59067 Mon Sep 17 00:00:00 2001 From: Arnaud Ferraris Date: Fri, 11 Dec 2020 12:15:32 +0100 Subject: [PATCH] at: fix suspend/resume sequences These are set commands, no need to verify the current value. --- src/at.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/at.c b/src/at.c index 87c7030..7e53c52 100644 --- a/src/at.c +++ b/src/at.c @@ -249,7 +249,7 @@ void at_sequence_configure(struct EG25Manager *manager) void at_sequence_suspend(struct EG25Manager *manager) { - append_at_command(manager, "QGPS", NULL, NULL, "0"); + append_at_command(manager, "QGPS", NULL, "0", NULL); append_at_command(manager, "QCFG", "urc/cache", "1", NULL); send_at_command(manager); } @@ -257,7 +257,7 @@ void at_sequence_suspend(struct EG25Manager *manager) void at_sequence_resume(struct EG25Manager *manager) { append_at_command(manager, "QCFG", "urc/cache", "0", NULL); - append_at_command(manager, "QGPS", NULL, NULL, "1"); + append_at_command(manager, "QGPS", NULL, "1", NULL); send_at_command(manager); }