Fork for LoDev

Revision:
117:5b5ad247cc3b
Parent:
111:c47d5224a2d1
diff -r ad16f106c2a6 -r 5b5ad247cc3b sx1276/sx1276-mbed-hal.h
--- 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