diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-02-07 14:59:26 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2009-02-07 14:59:26 +0000 |
commit | 6cfef53ca56e835c9fcd28206971bf15e17fb31b (patch) | |
tree | 3f7dba0fec675d8bdffd6a2c159f79f62be676fc /ports | |
parent | a13c32870977d0b368520d5cd667b1a904a899e7 (diff) | |
download | ChibiOS-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.h | 2 | ||||
-rw-r--r-- | ports/MSP430/chcore.h | 2 | ||||
-rw-r--r-- | ports/MSP430/msp430_serial.h | 2 |
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
|