Add ifdef to include correct mbed.h file in mbedOS

This commit is contained in:
Andres Amaya Garcia 2015-12-18 16:01:19 +00:00
parent 624cd84c4f
commit 25dc1a7185
1 changed files with 5 additions and 1 deletions

View File

@ -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. */