Merge pull request #9 from andresag01/master

Add ifdef to include correct mbed.h file in mbedOS
This commit is contained in:
Vincent Coubard 2016-01-07 15:49:56 +00:00
commit 7ff95c97f4
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. */