Software can read HMC5883L
Fork of BLE_API by
Diff: source/services/DFUService.cpp
- Revision:
- 1018:8a29b01b47db
- Parent:
- 1017:ccb8c0646e55
- Child:
- 1022:306c409f6c09
--- a/source/services/DFUService.cpp Thu Dec 10 09:15:01 2015 +0000 +++ b/source/services/DFUService.cpp 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 */ + #include "ble/services/DFUService.h" const uint8_t DFUServiceBaseUUID[] = { @@ -37,4 +39,6 @@ 0x15, 0x23, 0x78, 0x5F, 0xEA, 0xBC, 0xD1, 0x23, }; -DFUService::ResetPrepare_t DFUService::handoverCallback = NULL; \ No newline at end of file +DFUService::ResetPrepare_t DFUService::handoverCallback = NULL; + +#endif /* #ifdef TARGET_NRF51822 */ \ No newline at end of file