aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32F4xx/CAN/main.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-09-05 09:01:21 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-09-05 09:01:21 +0000
commit867c7c95aa67ea1f19286c3593500214101bacd9 (patch)
tree1b094e37b25017a849a5eb5383bc141622654c81 /testhal/STM32F4xx/CAN/main.c
parente5e278c89f2edd0750749dfca551fc531cf317f2 (diff)
downloadChibiOS-867c7c95aa67ea1f19286c3593500214101bacd9.tar.gz
ChibiOS-867c7c95aa67ea1f19286c3593500214101bacd9.tar.bz2
ChibiOS-867c7c95aa67ea1f19286c3593500214101bacd9.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6262 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32F4xx/CAN/main.c')
-rw-r--r--testhal/STM32F4xx/CAN/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/testhal/STM32F4xx/CAN/main.c b/testhal/STM32F4xx/CAN/main.c
index 373fca4fc..f06bad79f 100644
--- a/testhal/STM32F4xx/CAN/main.c
+++ b/testhal/STM32F4xx/CAN/main.c
@@ -39,8 +39,8 @@ static const CANConfig cancfg = {
/*
* Receiver thread.
*/
-static WORKING_AREA(can_rx1_wa, 256);
-static WORKING_AREA(can_rx2_wa, 256);
+static THD_WORKING_AREA(can_rx1_wa, 256);
+static THD_WORKING_AREA(can_rx2_wa, 256);
static msg_t can_rx(void *p) {
struct can_instance *cip = p;
event_listener_t el;
@@ -65,7 +65,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;