sforkowany z mirror/meshtastic-firmware
workaround for undefined payload type on phoneapi
rodzic
caac2ecb83
commit
399e053ebd
|
@ -179,6 +179,9 @@ size_t PhoneAPI::getFromRadio(uint8_t *buf)
|
|||
// Encapsulate as a FromRadio packet
|
||||
fromRadioScratch.which_payloadVariant = FromRadio_packet_tag;
|
||||
fromRadioScratch.packet = *packetForPhone;
|
||||
|
||||
// TODO: Remove with compression rework
|
||||
fromRadioScratch.packet.decoded.which_payloadVariant = Data_payload_tag;
|
||||
}
|
||||
releasePhonePacket();
|
||||
break;
|
||||
|
|
Ładowanie…
Reference in New Issue