mirror of
https://codeberg.org/mclemens/ubitxv6.git
synced 2024-10-01 08:25:56 -04:00
increase buffer b size to avoid heap smashing
This commit is contained in:
parent
d0900aa392
commit
9b224699ee
2
ubitx.h
2
ubitx.h
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user