Updated

Fork of BLE_API by Bluetooth Low Energy

Revision:
994:1f46234b1237
Parent:
993:4d62b7967c11
Child:
1006:76ae9bbf173f
diff -r 4d62b7967c11 -r 1f46234b1237 ble/services/DFUService.h
--- a/ble/services/DFUService.h	Wed Dec 02 10:29:44 2015 +0000
+++ b/ble/services/DFUService.h	Wed Dec 02 10:29:44 2015 +0000
@@ -14,6 +14,8 @@
  * limitations under the License.
  */
 
+#ifdef TARGET_NRF51822 /* DFU only supported on nrf51 platforms */
+
 #ifndef __BLE_DFU_SERVICE_H__
 #define __BLE_DFU_SERVICE_H__
 
@@ -140,4 +142,5 @@
     static ResetPrepare_t handoverCallback;  /**< Application-specific handover callback. */
 };
 
-#endif /* #ifndef __BLE_DFU_SERVICE_H__*/
\ No newline at end of file
+#endif /* #ifndef __BLE_DFU_SERVICE_H__*/
+#endif /* #ifdef TARGET_NRF51822 */
\ No newline at end of file