AP_OpticalFlow: failure to init leaves enabled unchanged

This commit is contained in:
Randy Mackay 2017-08-22 11:25:02 +09:00
parent ac36193481
commit c76f3294cd

View File

@ -104,8 +104,6 @@ void OpticalFlow::init(void)
if (backend != nullptr) {
backend->init();
} else {
_enabled = 0;
}
}