AP_UAVCAN: use take_blocking() method

This commit is contained in:
Andrew Tridgell 2018-05-25 09:33:55 +10:00
parent e2ea654b77
commit 91d2b19e23

View File

@ -552,7 +552,7 @@ bool AP_UAVCAN::try_init(void)
void AP_UAVCAN::SRV_sem_take()
{
(void)SRV_sem->take(HAL_SEMAPHORE_BLOCK_FOREVER);
SRV_sem->take_blocking();
}
void AP_UAVCAN::SRV_sem_give()