From 6437bd3a08e73aba9327deae0e089707ab705d14 Mon Sep 17 00:00:00 2001 From: Pat Hickey Date: Wed, 19 Dec 2012 14:26:32 -0800 Subject: [PATCH] AP_InertialSenor MPU6000 test: fixed for user interact changes --- libraries/AP_InertialSensor/examples/MPU6000/MPU6000.pde | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libraries/AP_InertialSensor/examples/MPU6000/MPU6000.pde b/libraries/AP_InertialSensor/examples/MPU6000/MPU6000.pde index fa097759c8..db93a28ad2 100644 --- a/libraries/AP_InertialSensor/examples/MPU6000/MPU6000.pde +++ b/libraries/AP_InertialSensor/examples/MPU6000/MPU6000.pde @@ -107,7 +107,8 @@ void run_calibration() #if !defined( __AVR_ATmega1280__ ) - ins.calibrate_accel(NULL, hal.console); + AP_InertialSensor_UserInteractStream interact(hal.console); + ins.calibrate_accel(NULL, &interact); #else hal.console->println_P(PSTR("calibrate_accel not available on 1280")); #endif