Browse Source

AP_InertialSenor MPU6000 test: fixed for user interact changes

master
Pat Hickey 12 years ago committed by Andrew Tridgell
parent
commit
6437bd3a08
  1. 3
      libraries/AP_InertialSensor/examples/MPU6000/MPU6000.pde

3
libraries/AP_InertialSensor/examples/MPU6000/MPU6000.pde

@ -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…
Cancel
Save