SX1276GenericLib to support sx1276 bassed LoRa modules, including HopeRF RFM95, Murata CMWX1ZZABZ and Semtech SX1276MB1MAS/SX1276MB1LAS modules
Dependents: DISCO-L072CZ-LRWAN1_LoRa_PingPong DISCO-L072CZ-LRWAN1_LoRa_PingPong DISCO-L072CZ-LRWAN1_LoRa_PingPong DISCO-L072CZ-LRWAN1_LoRa_USB_Rx ... more
Fork of SX1276Lib by
Diff: sx1276/sx1276-mbed-hal.cpp
- Revision:
- 90:d98572047c9c
- Parent:
- 65:b2d98328fcba
- Child:
- 94:e6c0279f550a
--- a/sx1276/sx1276-mbed-hal.cpp Wed Aug 30 12:02:09 2017 +0200 +++ b/sx1276/sx1276-mbed-hal.cpp Sun Sep 17 12:46:18 2017 +0200 @@ -101,6 +101,10 @@ SX1276Generic::~SX1276Generic() { + txTimeoutTimer.detach(); + rxTimeoutTimer.detach(); + rxTimeoutSyncWord.detach(); + if (_antSwitch) delete _antSwitch; if (_antSwitchTX) @@ -112,6 +116,7 @@ *_tcxo = 0; delete (_tcxo); } + Reset(); // to put chip back into fresh state delete _reset; delete _spi; delete _nss;