aboutsummaryrefslogtreecommitdiffstats
path: root/ports
diff options
context:
space:
mode:
Diffstat (limited to 'ports')
-rw-r--r--ports/AVR/avr_serial.h2
-rw-r--r--ports/MSP430/chcore.h2
-rw-r--r--ports/MSP430/msp430_serial.h2
3 files changed, 3 insertions, 3 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
diff --git a/ports/MSP430/chcore.h b/ports/MSP430/chcore.h
index dd0fbc3fb..3fc7161cb 100644
--- a/ports/MSP430/chcore.h
+++ b/ports/MSP430/chcore.h
@@ -204,7 +204,7 @@ struct context {
/**
* This port function is implemented as inlined code for performance reasons.
- * @note The port code does not define a low poer mode, this macro has to be
+ * @note The port code does not define a low power mode, this macro has to be
* defined externally. The default implementation is a "nop", not a
* real low power mode.
*/
diff --git a/ports/MSP430/msp430_serial.h b/ports/MSP430/msp430_serial.h
index 5057a5524..2195a6869 100644
--- a/ports/MSP430/msp430_serial.h
+++ b/ports/MSP430/msp430_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