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: x-nucleo-idb0xa1/utils/Utils.h
- Branch:
- 117ed4c55629877d7cb3d79c4bcb24e7da5bcab0
- Revision:
- 278:a5209d8cfd61
- Parent:
- 253:9665a6f8bbdb
diff -r 8da7a954664d -r a5209d8cfd61 x-nucleo-idb0xa1/utils/Utils.h
--- a/x-nucleo-idb0xa1/utils/Utils.h Thu Sep 15 10:51:41 2016 +0100
+++ b/x-nucleo-idb0xa1/utils/Utils.h Thu Sep 15 10:51:43 2016 +0100
@@ -22,7 +22,11 @@
#include "ble_status.h"
#include "hal_types.h"
-#include "mbed-drivers/mbed.h"
+#ifdef YOTTA_CFG_MBED_OS
+ #include "mbed-drivers/mbed.h"
+#else
+ #include "mbed.h"
+#endif
#define STORE_LE_16(buf, val) ( ((buf)[0] = (uint8_t) (val) ) , \
((buf)[1] = (uint8_t) (val>>8) ) )
@@ -44,4 +48,4 @@
tBleStatus getHighPowerAndPALevelValue(int8_t dBMLevel, int8_t& EN_HIGH_POWER, int8_t& PA_LEVEL);
#endif // __UTIL_H__
-
+
\ No newline at end of file