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

Files at this revision

API Documentation at this revision

Comitter:
Helmut Tschemernjak
Date:
Thu Aug 16 16:21:47 2018 +0200
Parent:
116:ad16f106c2a6
Child:
118:f2826a8fbff2
Commit message:
Updated for latested mbed

Changed in this revision

sx1276/sx1276-mbed-hal.h Show annotated file Show diff for this revision Revisions of this file
--- a/sx1276/sx1276-mbed-hal.h	Sat Jul 21 16:15:01 2018 +0200
+++ b/sx1276/sx1276-mbed-hal.h	Thu Aug 16 16:21:47 2018 +0200
@@ -30,7 +30,7 @@
 #define XSPI	SPI
 #endif
 
-#ifdef DEVICE_LOWPOWERTIMER
+#if defined(DEVICE_LPTICKER) || defined(DEVICE_LOWPOWERTIMER) // LOWPOWERTIMER in older mbed versions
  #define MyTimeout LowPowerTimeout
 #else
  #define MyTimeout Timeout