Add STATE_SEND_GROUPS to PhoneAPI::available

This commit is contained in:
Jm Casler 2022-02-20 08:23:05 -08:00
parent 3d4fc63ecc
commit b15ef2749f

View File

@ -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 <assert.h>
#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();