microbit: Disabled default instantiation of DFUService.

micro:bit operates its own custom service for this purpose.
This commit is contained in:
Joe Finney 2015-12-10 16:44:19 +00:00
parent e0f693adde
commit a5f6d4b877
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ BLE::initImplementation(FunctionPointerWithContext<InitializationCompleteCallbac
/* Platforms enabled for DFU should introduce the DFU Service into
* applications automatically. */
#if defined(TARGET_OTA_ENABLED)
static DFUService dfu(*this); // defined static so that the object remains alive
//static DFUService dfu(*this); // defined static so that the object remains alive
#endif // TARGET_OTA_ENABLED
return BLE_ERROR_NONE;