mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-25 01:03:59 -04:00
AP_Baro: wait forever for semaphore on startup
This commit is contained in:
parent
6f82ec0642
commit
c2125a0078
@ -66,7 +66,7 @@ void AP_Baro_MS56XX::_init()
|
||||
return;
|
||||
}
|
||||
|
||||
if (!_dev->get_semaphore()->take(10)) {
|
||||
if (!_dev->get_semaphore()->take(0)) {
|
||||
AP_HAL::panic("PANIC: AP_Baro_MS56XX: failed to take serial semaphore for init");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user