Add ifdef to include correct mbed.h file in mbedOS

master
Andres Amaya Garcia 7 years ago
parent 624cd84c4f
commit 25dc1a7185

@ -40,7 +40,11 @@
#ifdef USE_APP_TIMER
#include "app_timer.h"
#else
#include "mbed.h"
#ifdef YOTTA_CFG_MBED_OS
#include "mbed-drivers/mbed.h"
#else
#include "mbed.h"
#endif
#endif
static ble_conn_params_init_t m_conn_params_config; /**< Configuration as specified by the application. */

Loading…
Cancel
Save