No changes
Fork of nRF51822 by
Diff: source/nRF5xGap.h
- Revision:
- 578:78f69f1be114
- Parent:
- 575:7023a8204a1b
- Child:
- 581:1dd90ec7527b
--- a/source/nRF5xGap.h Mon Jan 11 10:19:25 2016 +0000 +++ b/source/nRF5xGap.h Mon Jan 11 10:19:25 2016 +0000 @@ -17,7 +17,11 @@ #ifndef __NRF5x_GAP_H__ #define __NRF5x_GAP_H__ -#include "mbed.h" +#ifdef YOTTA_CFG_MBED_OS + #include "mbed-drivers/mbed.h" +#else + #include "mbed.h" +#endif #include "ble/blecommon.h" #include "ble.h" #include "ble/GapAdvertisingParams.h"