for bbc microbit library
Fork of nRF51822 by
Diff: source/btle/btle_discovery.cpp
- Revision:
- 449:fd09f590751b
- Parent:
- 445:8328a7d1eac2
- Child:
- 453:38a41862ab4c
diff -r 1ed5645452e8 -r fd09f590751b source/btle/btle_discovery.cpp --- a/source/btle/btle_discovery.cpp Mon Nov 02 09:05:09 2015 +0000 +++ b/source/btle/btle_discovery.cpp Mon Nov 02 09:05:09 2015 +0000 @@ -17,7 +17,7 @@ #include "nRF5xServiceDiscovery.h" #include "nRF5xGattClient.h" -#if !defined(MCU_NRF51_16K_S110) && !defined(MCU_NRF51_32K_S110) +#if !defined(TARGET_MCU_NRF51_16K_S110) && !defined(TARGET_MCU_NRF51_32K_S110) void bleGattcEventHandler(const ble_evt_t *p_ble_evt) { nRF5xServiceDiscovery &sdSingleton = nRF5xGattClient::getInstance().discovery;