Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of nRF51822 by
Diff: source/btle/btle.cpp
- Revision:
- 510:7dded1f7473c
- Parent:
- 509:7dc75f30064f
- Child:
- 517:23d16e238129
diff -r 7dc75f30064f -r 7dded1f7473c source/btle/btle.cpp --- a/source/btle/btle.cpp Wed Dec 02 12:35:26 2015 +0000 +++ b/source/btle/btle.cpp Wed Dec 02 12:35:26 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,17 @@ #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" +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"