From b15ef2749f38452804ff1aa1d1069fe0c9a81dcc Mon Sep 17 00:00:00 2001 From: Jm Casler Date: Sun, 20 Feb 2022 08:23:05 -0800 Subject: [PATCH] Add STATE_SEND_GROUPS to PhoneAPI::available --- src/mesh/PhoneAPI.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/mesh/PhoneAPI.cpp b/src/mesh/PhoneAPI.cpp index 5d533793d..72e02cfa2 100644 --- a/src/mesh/PhoneAPI.cpp +++ b/src/mesh/PhoneAPI.cpp @@ -1,4 +1,3 @@ -#include "configuration.h" #include "PhoneAPI.h" #include "Channels.h" #include "GPS.h" @@ -6,6 +5,7 @@ #include "NodeDB.h" #include "PowerFSM.h" #include "RadioInterface.h" +#include "configuration.h" #include #if FromRadio_size > MAX_TO_FROM_RADIO_SIZE @@ -228,6 +228,9 @@ bool PhoneAPI::available() case STATE_SEND_MY_INFO: return true; + case STATE_SEND_GROUPS: + return true; + case STATE_SEND_NODEINFO: if (!nodeInfoForPhone) nodeInfoForPhone = nodeDB.readNextInfo();