BLE disable version.

Dependencies:   microbit-dal

Fork of microbit by Lancaster University

Files at this revision

API Documentation at this revision

Comitter:
va009039
Date:
Sun May 08 09:50:15 2016 +0000
Parent:
6:9cbea9993ef1
Commit message:
BLE disable.

Changed in this revision

source/MicroBit.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/source/MicroBit.cpp	Fri Apr 08 18:47:16 2016 +0100
+++ b/source/MicroBit.cpp	Sun May 08 09:50:15 2016 +0000
@@ -158,14 +158,14 @@
 
     // Attempt to bring up a second heap region, using unused memory normally reserved for Soft Device.
 #if CONFIG_ENABLED(MICROBIT_HEAP_ALLOCATOR) && CONFIG_ENABLED(MICROBIT_HEAP_REUSE_SD)
-#if CONFIG_ENABLED(MICROBIT_BLE_ENABLED)
+#if 0 && CONFIG_ENABLED(MICROBIT_BLE_ENABLED)
     microbit_create_heap(MICROBIT_SD_GATT_TABLE_START + MICROBIT_SD_GATT_TABLE_SIZE, MICROBIT_SD_LIMIT);
 #else
     microbit_create_heap(MICROBIT_SRAM_BASE, MICROBIT_SD_LIMIT);
 #endif
 #endif
 
-#if CONFIG_ENABLED(MICROBIT_BLE_ENABLED)
+#if 0 && CONFIG_ENABLED(MICROBIT_BLE_ENABLED)
     // Start the BLE stack, if it isn't already running.
     if (!ble)
     {