mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 14:48:28 -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)
|
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
|
// shouldn't be possible
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user