Erick / Mbed 2 deprecated ICE_BLE_TEST

Dependencies:   NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed

Fork of ICE by Erick

Revision:
171:fb29030d4eaf
Parent:
164:7cecd731882e
Child:
177:9ec90c8e3ce1
--- a/src/OutputTask/OutputTask.cpp	Mon Oct 03 21:57:36 2016 +0000
+++ b/src/OutputTask/OutputTask.cpp	Tue Oct 04 12:22:13 2016 +0000
@@ -259,7 +259,7 @@
  *****************************************************************************/
 static int createOutput(const char *outputFile)
 {
-    char dataBuf[1024];
+    char dataBuf[512];
     int status = GLOBAL_mdot->readUserFile(outputFile, (void *)dataBuf, sizeof(dataBuf));
     if ( status != true ) {
         logError("%s failed to read %s", __func__, outputFile);
@@ -437,9 +437,9 @@
 
             logInfo("%s: FOUND OUTPUT FILE: %s", __func__, i->name);
 
-            char scratchBuf[1024];
+            char scratchBuf[512];
 
-            status = GLOBAL_mdot->readUserFile(i->name, scratchBuf, 1024);
+            status = GLOBAL_mdot->readUserFile(i->name, scratchBuf, 512);
             if( status != true ) {
                 logInfo("(%d)read file failed, status=%d", __LINE__, status);
             } else {