Removed module.json edit. Delte KV Pairs.
This commit is contained in:
parent
a6ab0e6c1b
commit
42cba850c8
1 changed files with 2 additions and 1 deletions
|
@ -154,8 +154,9 @@ void MicroBit::init()
|
|||
// Remove KV if it exists
|
||||
if(BLEMode != NULL){
|
||||
storage.remove("BLEMode");
|
||||
delete BLEMode;
|
||||
}
|
||||
delete BLEMode;
|
||||
delete flashIncomplete;
|
||||
|
||||
#if CONFIG_ENABLED(MICROBIT_HEAP_ALLOCATOR) && CONFIG_ENABLED(MICROBIT_HEAP_REUSE_SD)
|
||||
microbit_create_heap(MICROBIT_SD_GATT_TABLE_START + MICROBIT_SD_GATT_TABLE_SIZE, MICROBIT_SD_LIMIT);
|
||||
|
|
Loading…
Reference in a new issue