mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-22 00:28:30 -04:00
AP_UAVCAN: use take_blocking() method
This commit is contained in:
parent
e2ea654b77
commit
91d2b19e23
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user