Test program to fill up the heap

Dependencies:   mbed

Fork of BLE_BatteryLevel by Bluetooth Low Energy

Revision:
5:77ad8d8dc9c5
Parent:
4:5b64235d1b85
Child:
8:45beed07b093
--- a/main.cpp	Thu Jun 12 13:56:06 2014 +0100
+++ b/main.cpp	Thu Jun 12 14:16:55 2014 +0100
@@ -36,9 +36,7 @@
 uint8_t            batt      = 72; /* Battery level */
 GattCharacteristic battLevel   (GattCharacteristic::UUID_BATTERY_LEVEL_CHAR, &batt, sizeof(batt), sizeof(batt),
                                 GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_NOTIFY | GattCharacteristic::BLE_GATT_CHAR_PROPERTIES_READ);
-GattCharacteristic *battChars[] = {
-    &battLevel,
-};
+GattCharacteristic *battChars[] = {&battLevel};
 GattService        battService (GattService::UUID_BATTERY_SERVICE, battChars, sizeof(battChars) / sizeof(GattCharacteristic *));