Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: source/services/DFUService.cpp
- Revision:
- 1053:ec4a5b9b254e
- Parent:
- 1042:21a86ac7f5b1
diff -r b55e1ad3e1b3 -r ec4a5b9b254e source/services/DFUService.cpp
--- a/source/services/DFUService.cpp Mon Jan 11 08:51:31 2016 +0000
+++ b/source/services/DFUService.cpp Mon Jan 11 08:51:32 2016 +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