Erick / Mbed 2 deprecated ICE_BLE_TEST

Dependencies:   NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed

Fork of ICE by Erick

Revision:
30:738359dfdab1
Parent:
28:c410a61238bb
Child:
33:cb765aefa1b5
Child:
46:4cb96ab2d1c8
--- a/src/ConfigurationHandler/Controls/SetpointControl.cpp	Thu Sep 08 20:20:21 2016 +0000
+++ b/src/ConfigurationHandler/Controls/SetpointControl.cpp	Thu Sep 08 21:07:47 2016 +0000
@@ -7,16 +7,15 @@
 #include "SetpointControl.h"
 #include "mDot.h"
 #include "MbedJSONValue.h"
-#include <vector>
-#include <cstdlib>
 #include <string>
 
 extern mDot *GLOBAL_mdot;
 
 bool SetpointControl::load(string _controlFile)
 {
+    MbedJSONValue json_value;
     controlFile = _controlFile;    
-
+ 
     // try to open the control file
     mDot::mdot_file file = GLOBAL_mdot->openUserFile(controlFile.c_str(), mDot::FM_RDONLY);
     if ( file.fd < 0 )