mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 14:38:30 -04:00
AP_OpticalFlow: failure to init leaves enabled unchanged
This commit is contained in:
parent
a7afffe14a
commit
fdb4c7b5ee
@ -104,8 +104,6 @@ void OpticalFlow::init(void)
|
||||
|
||||
if (backend != nullptr) {
|
||||
backend->init();
|
||||
} else {
|
||||
_enabled = 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user