Treehouse Mbed Team / Mbed 2 deprecated APS_DCM1SL2

Dependencies:   mbed

Revision:
55:0f5457bc4094
Parent:
54:660af33fa930
Child:
56:6ee4c05ccec8
--- a/src/command.cpp	Thu Nov 14 19:51:37 2019 +0000
+++ b/src/command.cpp	Thu Nov 14 21:40:09 2019 +0000
@@ -42,7 +42,7 @@
 #include "adc_defs.h"
 
 uint8_t *storo;
-char storoBuild[200], storoFrag[10], storoLUT[100];
+char storoLUT[100], storoFrag[10];
 char storoSpace[2] = ":";
 unsigned int boardsActive = ALLON;
 unsigned int boardMults = 32;
@@ -1355,6 +1355,7 @@
     else if (!strcmp(commandString, "RCRD"))
     {
         if(checkRange(boardMults, 0, 63) == 1){
+            char storoBuild[300];
             sprintf(storoFrag, "%4.2f", VOLTAGE_48_ACTUAL_VALUE);
             strcat(storoBuild, storoFrag);
             strcat(storoBuild, storoSpace);