1
Diff: radio_sx128x.cpp
- Revision:
- 17:5f34cbe2ac53
- Parent:
- 16:34de2ab7eb32
- Child:
- 20:75635d50262e
--- a/radio_sx128x.cpp Wed Oct 30 12:50:54 2019 -0700 +++ b/radio_sx128x.cpp Mon Jun 01 15:59:56 2020 -0700 @@ -43,8 +43,11 @@ #define RX_INDICATION pc3 #endif /* TARGET_FF_MORPHO */ - +#ifdef DEVICE_LPTICKER LowPowerTimer Radio::lpt; +#else +Timer Radio::lpt; +#endif PacketParams_t Radio::ppGFSK; PacketParams_t Radio::ppLORA; @@ -287,8 +290,7 @@ #ifdef RX_INDICATION RX_INDICATION = 0; #endif - } else if (RadioEvents->TxTimeout) - RadioEvents->TxTimeout(); + } // else TODO tx timeout } void Radio::txDoneBottom() @@ -374,7 +376,6 @@ return 0; } -extern RawSerial pc; void Radio::service() { radio.service();