Lancaster University's fork of the mbed BLE API. Lives on github, https://github.com/lancaster-university/BLE_API

Dependents:   microbit-dal microbit-dal microbit-ble-open microbit-dal ... more

Fork of BLE_API by Bluetooth Low Energy

Revision:
988:4eda0d49b333
Parent:
987:c1dd85b33cae
Child:
989:017f77f120e1
diff -r c1dd85b33cae -r 4eda0d49b333 ble/services/DFUService.h
--- a/ble/services/DFUService.h	Thu Nov 26 14:51:21 2015 +0000
+++ b/ble/services/DFUService.h	Thu Nov 26 14:51:22 2015 +0000
@@ -19,6 +19,8 @@
 #ifndef __BLE_DFU_SERVICE_H__
 #define __BLE_DFU_SERVICE_H__
 
+#ifdef TARGET_NRF51822 /* DFU only supported on nrf51 platforms */
+
 #include "ble/BLE.h"
 #include "ble/UUID.h"
 
@@ -142,5 +144,6 @@
     static ResetPrepare_t handoverCallback;  /**< application specific handover callback. */
 };
 
+#endif /* #ifdef TARGET_NRF51822 */
 #endif /* #ifndef __BLE_DFU_SERVICE_H__*/
 #endif /* #ifdef TARGET_NRF51822 */
\ No newline at end of file