aboutsummaryrefslogtreecommitdiffstats
path: root/os
diff options
context:
space:
mode:
authorliamstask <liamstask@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-03-10 17:03:04 +0000
committerliamstask <liamstask@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-03-10 17:03:04 +0000
commitbc6c15cacbd567ad50fd8e2002688de73b3937a0 (patch)
tree3401eb6d94eb09113b8a2bd2a2c042668b7d60be /os
parent49bc192b747cc5c9a1d91d366af933bdef540d05 (diff)
downloadChibiOS-bc6c15cacbd567ad50fd8e2002688de73b3937a0.tar.gz
ChibiOS-bc6c15cacbd567ad50fd8e2002688de73b3937a0.tar.bz2
ChibiOS-bc6c15cacbd567ad50fd8e2002688de73b3937a0.zip
update to new thread state symbol
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1736 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os')
-rw-r--r--os/hal/platforms/STM32/spi_lld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/hal/platforms/STM32/spi_lld.c b/os/hal/platforms/STM32/spi_lld.c
index ee3bd6197..37961c2a7 100644
--- a/os/hal/platforms/STM32/spi_lld.c
+++ b/os/hal/platforms/STM32/spi_lld.c
@@ -97,7 +97,7 @@ static void spi_start_wait(SPIDriver *spip, size_t n,
/* Wait for completion event.*/
spip->spd_thread = currp;
- chSchGoSleepS(PRSUSPENDED);
+ chSchGoSleepS(THD_STATE_SUSPENDED);
spip->spd_thread = NULL;
chSysUnlock();
}