mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AP_Radio: Change direct value to define name
This commit is contained in:
parent
a74123148b
commit
6de2311689
@ -1438,7 +1438,7 @@ void AP_Radio_cypress::dsm_choose_channel(void)
|
||||
*/
|
||||
void AP_Radio_cypress::start_recv_bind(void)
|
||||
{
|
||||
if (!dev->get_semaphore()->take(0)) {
|
||||
if (!dev->get_semaphore()->take(HAL_SEMAPHORE_BLOCK_FOREVER)) {
|
||||
// shouldn't be possible
|
||||
return;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user