BLE disable version.

Dependencies:   microbit-dal

Fork of microbit by Lancaster University

Revision:
7:64868768d90a
Parent:
5:8052323b72d2
diff -r 9cbea9993ef1 -r 64868768d90a source/MicroBit.cpp
--- 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)
     {