AP_InertialSenor MPU6000 test: fixed for user interact changes

This commit is contained in:
Pat Hickey 2012-12-19 14:26:32 -08:00 committed by Andrew Tridgell
parent 9055681b3a
commit 6437bd3a08
1 changed files with 2 additions and 1 deletions

View File

@ -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