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:
- 110:e04a263e272d
- Parent:
- 108:3d7cfa8b8519
- Child:
- 111:c47d5224a2d1
diff -r 528f37db941f -r e04a263e272d sx1276/sx1276-mbed-hal.cpp --- a/sx1276/sx1276-mbed-hal.cpp Tue Feb 20 14:56:20 2018 +0100 +++ b/sx1276/sx1276-mbed-hal.cpp Fri May 18 16:40:16 2018 +0200 @@ -116,7 +116,12 @@ *_tcxo = 0; delete (_tcxo); } - Reset(); // to put chip back into fresh state + /* + * Reset(); // to put chip back into fresh state + * We disabled the Reset() to allow the destructor to keep the + * chip in Sleep() mode to stay turned off with little energy + * consumption. + */ delete _reset; delete _spi; delete _nss;