From bc6c15cacbd567ad50fd8e2002688de73b3937a0 Mon Sep 17 00:00:00 2001 From: liamstask Date: Wed, 10 Mar 2010 17:03:04 +0000 Subject: update to new thread state symbol git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1736 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/platforms/STM32/spi_lld.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'os/hal') 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(); } -- cgit v1.2.3