aboutsummaryrefslogtreecommitdiffstats
path: root/ports/AVR/avr_serial.h
diff options
context:
space:
mode:
Diffstat (limited to 'ports/AVR/avr_serial.h')
-rw-r--r--ports/AVR/avr_serial.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ports/AVR/avr_serial.h b/ports/AVR/avr_serial.h
index 3b87ff938..f97f16e65 100644
--- a/ports/AVR/avr_serial.h
+++ b/ports/AVR/avr_serial.h
@@ -33,7 +33,7 @@
* buffers depending on the requirements of your application.
* @note The default is 32 bytes for both the transmission and receive buffers.
*/
-#ifndef SERIAL_BUFFERS_SIZE
+#if !defined(SERIAL_BUFFERS_SIZE) || defined(__DOXYGEN__)
#define SERIAL_BUFFERS_SIZE 32
#endif