aboutsummaryrefslogtreecommitdiffstats
path: root/ports
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-02-07 14:59:26 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2009-02-07 14:59:26 +0000
commit6cfef53ca56e835c9fcd28206971bf15e17fb31b (patch)
tree3f7dba0fec675d8bdffd6a2c159f79f62be676fc /ports
parenta13c32870977d0b368520d5cd667b1a904a899e7 (diff)
downloadChibiOS-6cfef53ca56e835c9fcd28206971bf15e17fb31b.tar.gz
ChibiOS-6cfef53ca56e835c9fcd28206971bf15e17fb31b.tar.bz2
ChibiOS-6cfef53ca56e835c9fcd28206971bf15e17fb31b.zip
Configuration system improvements.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@739 35acf78f-673a-0410-8e92-d51de3d6d3f4
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