mirror of https://github.com/ArduPilot/ardupilot
AP_InertialSenor MPU6000 test: fixed for user interact changes
This commit is contained in:
parent
9055681b3a
commit
6437bd3a08
|
@ -107,7 +107,8 @@ void run_calibration()
|
||||||
|
|
||||||
|
|
||||||
#if !defined( __AVR_ATmega1280__ )
|
#if !defined( __AVR_ATmega1280__ )
|
||||||
ins.calibrate_accel(NULL, hal.console);
|
AP_InertialSensor_UserInteractStream interact(hal.console);
|
||||||
|
ins.calibrate_accel(NULL, &interact);
|
||||||
#else
|
#else
|
||||||
hal.console->println_P(PSTR("calibrate_accel not available on 1280"));
|
hal.console->println_P(PSTR("calibrate_accel not available on 1280"));
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue