test
Fork of nRF51822 by
Diff: source/btle/btle.cpp
- Revision:
- 475:fe3d08b3a8e9
- Parent:
- 455:e33de7c4574c
- Child:
- 476:a95a18ef5e9c
diff -r 2c01f5c9155d -r fe3d08b3a8e9 source/btle/btle.cpp --- a/source/btle/btle.cpp Thu Nov 26 14:33:46 2015 +0000 +++ b/source/btle/btle.cpp Thu Nov 26 14:33:46 2015 +0000 @@ -19,7 +19,6 @@ #include "btle.h" -#include "ble_stack_handler_types.h" #include "ble_flash.h" #include "ble_conn_params.h" @@ -27,15 +26,18 @@ #include "btle_advertising.h" #include "custom/custom_helper.h" -#include "softdevice_handler.h" -#include "pstorage.h" - #include "ble/GapEvents.h" #include "nRF5xGap.h" #include "nRF5xGattServer.h" #include "nRF5xSecurityManager.h" +#define BLE_STACK_SUPPORT_REQD +extern "C" { +#include "pstorage.h" #include "device_manager.h" +#include "softdevice_handler.h" +#include "ble_stack_handler_types.h" +} #include "ble_hci.h" #include "btle_discovery.h"