Missed one :-)
This commit is contained in:
1 parent
2ecf273cf3
commit
3120744716
1 file changed
+2
-3
@@ -376,10 +376,9 @@ bool PhoneAPI::available()
|
||||
if (hasPacket)
|
||||
return true;
|
||||
|
||||
if (xmodemPacketForPhone.control != meshtastic_XModem_Control_NUL)
|
||||
if (xmodemPacketForPhone.control == meshtastic_XModem_Control_NUL)
|
||||
xmodemPacketForPhone = xModem.getForPhone();
|
||||
hasPacket = !!packetForPhone;
|
||||
if (hasPacket)
|
||||
if (xmodemPacketForPhone.control != meshtastic_XModem_Control_NUL)
|
||||
return true;
|
||||
|
||||
if (!packetForPhone)
|
||||
|
||||
Reference in new issue
Block a user