manager: only toggle GPIOs for suspend after executing all AT commands

This commit is contained in:
Arnaud Ferraris
2020-12-30 16:20:32 +01:00
parent d990ab667e
commit abc05e86e5
4 changed files with 12 additions and 6 deletions

View File

@@ -54,7 +54,8 @@ struct EG25Manager {
void modem_configure(struct EG25Manager *data);
void modem_reset(struct EG25Manager *data);
void modem_suspend(struct EG25Manager *data);
void modem_suspend_pre(struct EG25Manager *data);
void modem_suspend_post(struct EG25Manager *data);
void modem_resume_pre(struct EG25Manager *data);
void modem_resume_post(struct EG25Manager *data);
void modem_update_state(struct EG25Manager *data, MMModemState state);