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
Diff: ble/services/DFUService.h
- Revision:
- 1018:8a29b01b47db
- Parent:
- 1017:ccb8c0646e55
- Child:
- 1042:21a86ac7f5b1
diff -r ccb8c0646e55 -r 8a29b01b47db ble/services/DFUService.h --- a/ble/services/DFUService.h Thu Dec 10 09:15:01 2015 +0000 +++ b/ble/services/DFUService.h Thu Dec 10 09:15:01 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