mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AP_Radio: correct for recent semaphore bool/void changes
This commit is contained in:
parent
a32e54ea17
commit
12f7337030
@ -373,7 +373,8 @@ public:
|
||||
Radio_Beken(AP_HAL::OwnPtr<AP_HAL::SPIDevice> _dev);
|
||||
bool lock_bus(void)
|
||||
{
|
||||
return dev->get_semaphore()->take_blocking();
|
||||
dev->get_semaphore()->take_blocking();
|
||||
return true;
|
||||
}
|
||||
void unlock_bus(void)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user