increase buffer b size to avoid heap smashing

This commit is contained in:
Reed Nightingale 2020-01-19 18:41:36 -08:00
parent d0900aa392
commit 9b224699ee
2 changed files with 2 additions and 2 deletions

View File

@ -56,7 +56,7 @@ it uses an ILI9341 display controller and an XPT2046 touch controller.
* the input and output from the USB port. We must keep a count of the bytes used while reading
* the serial port as we can easily run out of buffer space. This is done in the serial_in_count variable.
*/
extern char c[30], b[30];
extern char c[30], b[128];
/**
* The second set of 16 pins on the Raduino's bottom connector are have the three clock outputs and the digital lines to control the rig.

View File

@ -46,7 +46,7 @@
* the input and output from the USB port. We must keep a count of the bytes used while reading
* the serial port as we can easily run out of buffer space. This is done in the serial_in_count variable.
*/
char b[30];
char b[128];
char c[30];
//during CAT commands, we will freeeze the display until CAT is disengaged