diff options
-rw-r--r-- | os/ports/GCC/ARM7/chcore.h | 2 | ||||
-rw-r--r-- | os/ports/GCC/ARMCMx/chcore.h | 2 | ||||
-rw-r--r-- | os/ports/GCC/AVR/chcore.h | 2 | ||||
-rw-r--r-- | os/ports/GCC/MSP430/chcore.h | 2 | ||||
-rw-r--r-- | os/ports/GCC/PPC/chcore.h | 2 | ||||
-rw-r--r-- | os/ports/GCC/SIMIA32/chcore.h | 2 | ||||
-rw-r--r-- | readme.txt | 2 |
7 files changed, 8 insertions, 6 deletions
diff --git a/os/ports/GCC/ARM7/chcore.h b/os/ports/GCC/ARM7/chcore.h index 8651c22e9..22fbf2137 100644 --- a/os/ports/GCC/ARM7/chcore.h +++ b/os/ports/GCC/ARM7/chcore.h @@ -170,7 +170,7 @@ struct context { * @details This macro is used to allocate a static thread working area
* aligned as both position and size.
*/
-#define WORKING_AREA(s, n) stkalign_t s[THD_WA_SIZE(n) / sizeof(stkalign_t)];
+#define WORKING_AREA(s, n) stkalign_t s[THD_WA_SIZE(n) / sizeof(stkalign_t)]
/**
* @brief IRQ prologue code.
diff --git a/os/ports/GCC/ARMCMx/chcore.h b/os/ports/GCC/ARMCMx/chcore.h index ae3ec2b8e..4995013e5 100644 --- a/os/ports/GCC/ARMCMx/chcore.h +++ b/os/ports/GCC/ARMCMx/chcore.h @@ -290,7 +290,7 @@ struct context { * @details This macro is used to allocate a static thread working area
* aligned as both position and size.
*/
-#define WORKING_AREA(s, n) stkalign_t s[THD_WA_SIZE(n) / sizeof(stkalign_t)];
+#define WORKING_AREA(s, n) stkalign_t s[THD_WA_SIZE(n) / sizeof(stkalign_t)]
/* Includes the architecture-specific implementation part.*/
#if defined(CH_ARCHITECTURE_ARM_v6M)
diff --git a/os/ports/GCC/AVR/chcore.h b/os/ports/GCC/AVR/chcore.h index a974b5a1a..77af268c0 100644 --- a/os/ports/GCC/AVR/chcore.h +++ b/os/ports/GCC/AVR/chcore.h @@ -192,7 +192,7 @@ struct context { * @details This macro is used to allocate a static thread working area
* aligned as both position and size.
*/
-#define WORKING_AREA(s, n) stkalign_t s[THD_WA_SIZE(n) / sizeof(stkalign_t)];
+#define WORKING_AREA(s, n) stkalign_t s[THD_WA_SIZE(n) / sizeof(stkalign_t)]
/**
* @brief IRQ prologue code.
diff --git a/os/ports/GCC/MSP430/chcore.h b/os/ports/GCC/MSP430/chcore.h index 7ff87f41d..15efad59e 100644 --- a/os/ports/GCC/MSP430/chcore.h +++ b/os/ports/GCC/MSP430/chcore.h @@ -164,7 +164,7 @@ struct context { * @details This macro is used to allocate a static thread working area
* aligned as both position and size.
*/
-#define WORKING_AREA(s, n) stkalign_t s[THD_WA_SIZE(n) / sizeof(stkalign_t)];
+#define WORKING_AREA(s, n) stkalign_t s[THD_WA_SIZE(n) / sizeof(stkalign_t)]
/**
* @brief IRQ prologue code.
diff --git a/os/ports/GCC/PPC/chcore.h b/os/ports/GCC/PPC/chcore.h index 77056b6bd..162469a1b 100644 --- a/os/ports/GCC/PPC/chcore.h +++ b/os/ports/GCC/PPC/chcore.h @@ -226,7 +226,7 @@ struct context { * @details This macro is used to allocate a static thread working area
* aligned as both position and size.
*/
-#define WORKING_AREA(s, n) stkalign_t s[THD_WA_SIZE(n) / sizeof(stkalign_t)];
+#define WORKING_AREA(s, n) stkalign_t s[THD_WA_SIZE(n) / sizeof(stkalign_t)]
/**
* @brief IRQ prologue code.
diff --git a/os/ports/GCC/SIMIA32/chcore.h b/os/ports/GCC/SIMIA32/chcore.h index aa5e5a5ae..bfb9c4cb5 100644 --- a/os/ports/GCC/SIMIA32/chcore.h +++ b/os/ports/GCC/SIMIA32/chcore.h @@ -139,7 +139,7 @@ struct context { * Macro used to allocate a thread working area aligned as both position and
* size.
*/
-#define WORKING_AREA(s, n) stkalign_t s[THD_WA_SIZE(n) / sizeof(stkalign_t)];
+#define WORKING_AREA(s, n) stkalign_t s[THD_WA_SIZE(n) / sizeof(stkalign_t)]
/**
* IRQ prologue code, inserted at the start of all IRQ handlers enabled to
diff --git a/readme.txt b/readme.txt index f6ecd3367..1661f3ebb 100644 --- a/readme.txt +++ b/readme.txt @@ -107,6 +107,8 @@ receiver in UART_RX_IDLE state, the receive operation continues unless
explicitly stopped in the error callback handler. This considerably
simplifies the low level driver code.
+- CHANGE: Removed a spurious trailing ; after the WORKING_AREA() macro
+ declaration in several ports. The ; should go after the macro invocation.
- CHANGE: Modified the STM32 ADC driver to use the new DMA infrastructure.
- CHANGE: Modified the STM32 SPI driver to use the new DMA infrastructure.
- CHANGE: Added DMA cleanup code to the STM32 dmaInit() function.
|