mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-05 07:28:29 -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) {
|
if (backend != nullptr) {
|
||||||
backend->init();
|
backend->init();
|
||||||
} else {
|
|
||||||
_enabled = 0;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user