AP_Radio: Change direct value to define name

This commit is contained in:
murata 2019-09-24 01:52:28 +09:00 committed by Peter Barker
parent ec0c49315f
commit 6d7c2301f2
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}