Copter: remove ahrs.set_barometer()

This commit is contained in:
Andrew Tridgell 2013-04-14 15:41:25 +10:00
parent a4d25f5a82
commit cf6ae4a746

View File

@ -17,7 +17,6 @@ static void init_sonar(void)
static void init_barometer(void) static void init_barometer(void)
{ {
barometer.calibrate(); barometer.calibrate();
ahrs.set_barometer(&barometer);
gcs_send_text_P(SEVERITY_LOW, PSTR("barometer calibration complete")); gcs_send_text_P(SEVERITY_LOW, PSTR("barometer calibration complete"));
} }