AP_Arming: remove pointless initialisations

These are part of a static object
This commit is contained in:
Peter Barker 2018-06-20 17:32:17 +10:00 committed by Peter Barker
parent 81b731b214
commit 72d7181e0d
1 changed files with 0 additions and 4 deletions

View File

@ -83,13 +83,9 @@ AP_Arming::AP_Arming(const AP_AHRS &ahrs_ref, Compass &compass,
ahrs(ahrs_ref),
_compass(compass),
_battery(battery),
armed(false),
arming_method(NONE)
{
AP_Param::setup_object_defaults(this, var_info);
memset(last_accel_pass_ms, 0, sizeof(last_accel_pass_ms));
memset(last_gyro_pass_ms, 0, sizeof(last_gyro_pass_ms));
}
uint16_t AP_Arming::compass_magfield_expected() const