Copter: reset baro glitch after baro init

This commit is contained in:
Randy Mackay 2014-11-09 13:27:49 -08:00
parent 67690553c5
commit b2badee172

View File

@ -8,6 +8,8 @@ static void init_barometer(bool full_calibration)
}else{
barometer.update_calibration();
}
// reset glitch protection to use new baro alt
baro_glitch.reset();
gcs_send_text_P(SEVERITY_LOW, PSTR("barometer calibration complete"));
}