aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/STM32/CAN/main.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-08-08 13:51:03 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-08-08 13:51:03 +0000
commit2d1ded91fe36fbfa8427ce854d82cc3947789b31 (patch)
tree9cfe0386efaa886501ec595de29aa72f0d9ee1bc /testhal/STM32/CAN/main.c
parenta2cfd2054ad5da4dbf8b583a7eaf164d9dac6006 (diff)
downloadChibiOS-2d1ded91fe36fbfa8427ce854d82cc3947789b31.tar.gz
ChibiOS-2d1ded91fe36fbfa8427ce854d82cc3947789b31.tar.bz2
ChibiOS-2d1ded91fe36fbfa8427ce854d82cc3947789b31.zip
Added STM32 SPI demo.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2121 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/STM32/CAN/main.c')
-rw-r--r--testhal/STM32/CAN/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/testhal/STM32/CAN/main.c b/testhal/STM32/CAN/main.c
index 54517d0b4..21a04d4bf 100644
--- a/testhal/STM32/CAN/main.c
+++ b/testhal/STM32/CAN/main.c
@@ -36,7 +36,7 @@ static const CANConfig cancfg = {
/*
* Receiver thread.
*/
-static WORKING_AREA(can_rx_wa, 512);
+static WORKING_AREA(can_rx_wa, 256);
static msg_t can_rx(void *p) {
EventListener el;
CANRxFrame rxmsg;
@@ -58,7 +58,7 @@ static msg_t can_rx(void *p) {
/*
* Transmitter thread.
*/
-static WORKING_AREA(can_tx_wa, 512);
+static WORKING_AREA(can_tx_wa, 256);
static msg_t can_tx(void * p) {
CANTxFrame txmsg;