mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-13 10:03:57 -03:00
AP_OpticalFlow: No need to clear already zerod objects
This commit is contained in:
parent
d6944510da
commit
3d7d23531a
@ -74,11 +74,6 @@ OpticalFlow::OpticalFlow(AP_AHRS_NavEKF &ahrs)
|
||||
_last_update_ms(0)
|
||||
{
|
||||
AP_Param::setup_object_defaults(this, var_info);
|
||||
|
||||
memset(&_state, 0, sizeof(_state));
|
||||
|
||||
// healthy flag will be overwritten on update
|
||||
_flags.healthy = false;
|
||||
}
|
||||
|
||||
void OpticalFlow::init(void)
|
||||
|
Loading…
Reference in New Issue
Block a user