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.
Dependencies: nrf51-sdk
Fork of nRF51822 by
Diff: source/btle/btle.cpp
- Revision:
- 440:f58f868539b8
- Parent:
- 439:f9f62a252f80
- Child:
- 444:a54987ce65e1
diff -r f9f62a252f80 -r f58f868539b8 source/btle/btle.cpp
--- a/source/btle/btle.cpp Fri Sep 25 15:26:58 2015 +0100
+++ b/source/btle/btle.cpp Fri Sep 25 15:26:58 2015 +0100
@@ -133,7 +133,7 @@
dm_ble_evt_handler(p_ble_evt);
-#if !defined(MCU_NORDIC_16K_S110) && !defined(MCU_NORDIC_32K_S110)
+#if !defined(MCU_NRF51_16K_S110) && !defined(MCU_NRF51_32K_S110)
bleGattcEventHandler(p_ble_evt);
#endif
@@ -141,7 +141,7 @@
switch (p_ble_evt->header.evt_id) {
case BLE_GAP_EVT_CONNECTED: {
Gap::Handle_t handle = p_ble_evt->evt.gap_evt.conn_handle;
-#if defined(MCU_NORDIC_16K_S110) || defined(MCU_NORDIC_32K_S110)
+#if defined(MCU_NRF51_16K_S110) || defined(MCU_NRF51_32K_S110)
/* Only peripheral role is supported by S110 */
Gap::Role_t role = Gap::PERIPHERAL;
#else
