Missed one :-)

This commit is contained in:
Thomas Göttgens committed 2023-01-22 18:58:14 +01:00
1 parent 2ecf273cf3
commit 3120744716
1 file changed
+2 -3
+2 -3
View File
@@ -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)