We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ef20d77 commit 0279b0fCopy full SHA for 0279b0f
arduino/avr/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