Erick / Mbed 2 deprecated ICE_BLE_TEST

Dependencies:   NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed

Fork of ICE by Erick

Revision:
276:851554207c77
Parent:
274:e2caebc7c65e
diff -r 76285569fb64 -r 851554207c77 src/ConfigurationHandler/Controls/FailsafeControl.cpp
--- a/src/ConfigurationHandler/Controls/FailsafeControl.cpp	Wed Oct 26 20:10:37 2016 +0000
+++ b/src/ConfigurationHandler/Controls/FailsafeControl.cpp	Wed Oct 26 20:31:39 2016 +0000
@@ -61,6 +61,8 @@
     lfs_data.value      = atof(cJSON_GetObjectItem(root, "lfsValue")->valuestring);
     lfs_data.dutyCycle  = atoi(cJSON_GetObjectItem(root, "lfsDutyCycle")->valuestring);
     lfs_data.interval   = atoi(cJSON_GetObjectItem(root, "lfsInterval")->valuestring);
+    
+    cJSON_Delete(root);
 
     return true;
 }