mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-25 09:42:35 +00:00
Missed one :-)
This commit is contained in:
parent
2ecf273cf3
commit
3120744716
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user