Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: sx1276/arduino-mbed.h
- Revision:
- 70:1d496aae2819
- Parent:
- 69:d440a5b04708
--- a/sx1276/arduino-mbed.h	Fri Jul 21 17:09:05 2017 +0200
+++ b/sx1276/arduino-mbed.h	Sun Jul 23 15:44:57 2017 +0200
@@ -17,11 +17,11 @@
 #undef max
 #undef map
 
-
 typedef int PinName;
 #define NC	-1
 #define	wait_ms	delay
-
+/* we need to redefine out dprintf because stdio.h uses the same name */
+#define dprint	dxprintf
 
 #if ARDUINO_SAMD_VARIANT_COMPLIANCE >= 10606
  #define MYdigitalPinToInterrupt(x)	digitalPinToInterrupt(x)
@@ -211,6 +211,7 @@
     Callback<void()> _func;
 };
 
+extern uint32_t s_getTicker(void);
 extern uint32_t ms_getTicker(void);
 extern uint32_t us_getTicker(void);
 extern uint64_t ns_getTicker(void);