aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F30x/CAN/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'testhal/STM32F30x/CAN/main.c')
-rw-r--r--testhal/STM32F30x/CAN/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testhal/STM32F30x/CAN/main.c b/testhal/STM32F30x/CAN/main.c
index 52e3ad1b6..27ba16bf7 100644
--- a/testhal/STM32F30x/CAN/main.c
+++ b/testhal/STM32F30x/CAN/main.c
@@ -30,7 +30,7 @@ static const CANConfig cancfg = {
/*
* Receiver thread.
*/
-static WORKING_AREA(can_rx_wa, 256);
+static THD_WORKING_AREA(can_rx_wa, 256);
static msg_t can_rx(void *p) {
event_listener_t el;
CANRxFrame rxmsg;
@@ -53,7 +53,7 @@ static msg_t can_rx(void *p) {
/*
* Transmitter thread.
*/
-static WORKING_AREA(can_tx_wa, 256);
+static THD_WORKING_AREA(can_tx_wa, 256);
static msg_t can_tx(void * p) {
CANTxFrame txmsg;