We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edcfdba commit 7f2ca6eCopy full SHA for 7f2ca6e
cores/arduino/USBAPI.h
@@ -75,7 +75,7 @@ extern USBDevice_ USBDevice;
75
struct ring_buffer;
76
77
#ifndef SERIAL_BUFFER_SIZE
78
-#if (RAMEND < 1000)
+#if ((RAMEND - RAMSTART) < 1023)
79
#define SERIAL_BUFFER_SIZE 16
80
#else
81
#define SERIAL_BUFFER_SIZE 64
0 commit comments