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.
Fork of microbit by
Revision 7:64868768d90a, committed 2016-05-08
- 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)
{
