mirror of
https://github.com/adafruit/Adafruit_SSD1306.git
synced 2026-07-27 20:05:50 +00:00
clankz
This commit is contained in:
@@ -61,7 +61,8 @@
|
||||
#elif defined(BUFFER_LENGTH)
|
||||
#define WIRE_MAX min(256, BUFFER_LENGTH) ///< AVR or similar Wire lib
|
||||
#elif defined(SERIAL_BUFFER_SIZE)
|
||||
#define WIRE_MAX min(255, SERIAL_BUFFER_SIZE - 1) ///< Newer Wire uses RingBuffer
|
||||
#define WIRE_MAX \
|
||||
min(255, SERIAL_BUFFER_SIZE - 1) ///< Newer Wire uses RingBuffer
|
||||
#else
|
||||
#define WIRE_MAX 32 ///< Use common Arduino core default
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user