mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-26 18:09:04 +00:00
Missed one :-)
This commit is contained in:
parent
2ecf273cf3
commit
3120744716
@ -376,10 +376,9 @@ bool PhoneAPI::available()
|
|||||||
if (hasPacket)
|
if (hasPacket)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (xmodemPacketForPhone.control != meshtastic_XModem_Control_NUL)
|
if (xmodemPacketForPhone.control == meshtastic_XModem_Control_NUL)
|
||||||
xmodemPacketForPhone = xModem.getForPhone();
|
xmodemPacketForPhone = xModem.getForPhone();
|
||||||
hasPacket = !!packetForPhone;
|
if (xmodemPacketForPhone.control != meshtastic_XModem_Control_NUL)
|
||||||
if (hasPacket)
|
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (!packetForPhone)
|
if (!packetForPhone)
|
||||||
|
Loading…
Reference in New Issue
Block a user