library for BLE_GAP_backpack

Dependencies:   nrf51-sdk

Fork of nRF51822 by Nordic Semiconductor

Revision:
449:fd09f590751b
Parent:
445:8328a7d1eac2
Child:
453:38a41862ab4c
--- a/source/nRF5xGap.h	Mon Nov 02 09:05:09 2015 +0000
+++ b/source/nRF5xGap.h	Mon Nov 02 09:05:09 2015 +0000
@@ -81,7 +81,7 @@
     }
 
 /* Observer role is not supported by S110, return BLE_ERROR_NOT_IMPLEMENTED */
-#if !defined(MCU_NRF51_16K_S110) && !defined(MCU_NRF51_32K_S110)
+#if !defined(TARGET_MCU_NRF51_16K_S110) && !defined(TARGET_MCU_NRF51_32K_S110)
     virtual ble_error_t startRadioScan(const GapScanningParams &scanningParams) {
         ble_gap_scan_params_t scanParams = {
             .active      = scanningParams.getActiveScanning(), /**< If 1, perform active scanning (scan requests). */