mirror of https://github.com/ArduPilot/ardupilot
AP_Radio: Change direct value to define name
This commit is contained in:
parent
ec0c49315f
commit
6d7c2301f2
|
@ -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