update to new thread state symbol
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1736 35acf78f-673a-0410-8e92-d51de3d6d3f4
This commit is contained in:
parent
49bc192b74
commit
bc6c15cacb
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue