Fork for LoDev

Revision:
110:e04a263e272d
Parent:
108:3d7cfa8b8519
Child:
111:c47d5224a2d1
--- 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;