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 Semtech

Revision:
109:528f37db941f
Parent:
102:3e0f7696f4a5
Child:
111:c47d5224a2d1
--- a/sx1276/sx1276-mbed-hal.h	Sun Jan 21 11:53:10 2018 +0100
+++ b/sx1276/sx1276-mbed-hal.h	Tue Feb 20 14:56:20 2018 +0100
@@ -30,6 +30,11 @@
 #define XSPI	SPI
 #endif
 
+#ifdef DEVICE_LOWPOWERTIMER
+ #define MyTimeout LowPowerTimeout
+#else
+ #define MyTimeout Timeout
+#endif
 
 /*!
  * Actual implementation of a SX1276 radio, includes some modifications to make it
@@ -74,9 +79,9 @@
     /*!
      * Tx and Rx timers
      */
-    Timeout txTimeoutTimer;
-    Timeout rxTimeoutTimer;
-    Timeout rxTimeoutSyncWord;
+    MyTimeout txTimeoutTimer;
+    MyTimeout rxTimeoutTimer;
+    MyTimeout rxTimeoutSyncWord;
     
     
 private: