Merge branch 'master' into sx126x-rx-boosted-gain

This commit is contained in:
Ben Meadors
2023-01-24 10:04:31 -06:00
committed by GitHub
8 changed files with 42 additions and 24 deletions

View File

@@ -378,8 +378,10 @@ bool PhoneAPI::available()
if (xmodemPacketForPhone.control == meshtastic_XModem_Control_NUL)
xmodemPacketForPhone = xModem.getForPhone();
if (xmodemPacketForPhone.control != meshtastic_XModem_Control_NUL)
if (xmodemPacketForPhone.control != meshtastic_XModem_Control_NUL) {
xModem.resetForPhone();
return true;
}
if (!packetForPhone)
packetForPhone = service.getForPhone();