Fix for buffer overflow when an sd card with non ascii characters is read.

This commit is contained in:
Knutwurst
2020-06-02 15:03:25 +02:00
parent 1b60c6d748
commit 3591d3f7fa

View File

@@ -47,9 +47,9 @@
// to which to write the next incoming character and tail is the index of the
// location from which to read.
#if (RAMEND < 1000)
#define SERIAL_BUFFER_SIZE 64
#define SERIAL_BUFFER_SIZE 16
#else
#define SERIAL_BUFFER_SIZE 128
#define SERIAL_BUFFER_SIZE 64
#endif
struct ring_buffer