jgh
Fork of BLE_API by
Revision 988:4eda0d49b333, committed 2015-11-26
- Comitter:
- rgrover1
- Date:
- Thu Nov 26 14:51:22 2015 +0000
- Parent:
- 987:c1dd85b33cae
- Child:
- 989:017f77f120e1
- Commit message:
- Synchronized with git rev 2a58ee97
Author: Liyou Zhou
Merge branch 'guard_dfu_files' of github.com:LiyouZhou/ble into guard_dfu_files
Changed in this revision
ble/services/DFUService.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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