Skip to content

Instantly share code, notes, and snippets.

@lectroidmarc
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lectroidmarc/183038e0db003a3e68fc to your computer and use it in GitHub Desktop.
Save lectroidmarc/183038e0db003a3e68fc to your computer and use it in GitHub Desktop.
Arduino 256 byte hardware serial buffer
--- hardware/arduino/cores/arduino/HardwareSerial.cpp.orig 2014-09-04 08:58:24.000000000 -0700
+++ hardware/arduino/cores/arduino/HardwareSerial.cpp 2014-09-04 08:59:10.000000000 -0700
@@ -56,7 +56,7 @@
#if (RAMEND < 1000)
#define SERIAL_BUFFER_SIZE 16
#else
- #define SERIAL_BUFFER_SIZE 64
+ #define SERIAL_BUFFER_SIZE 256
#endif
struct ring_buffer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment