AP_Baro: wait forever for semaphore on startup

This commit is contained in:
Andrew Tridgell 2016-11-18 12:05:55 +11:00 committed by Lucas De Marchi
parent 6f82ec0642
commit c2125a0078

View File

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