Browse Source

AP_UAVCAN: use take_blocking() method

mission-4.1.18
Andrew Tridgell 7 years ago
parent
commit
91d2b19e23
  1. 2
      libraries/AP_UAVCAN/AP_UAVCAN.cpp

2
libraries/AP_UAVCAN/AP_UAVCAN.cpp

@ -552,7 +552,7 @@ bool AP_UAVCAN::try_init(void) @@ -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…
Cancel
Save