AP_InertialSensor: fixed another example build
This commit is contained in:
parent
d62c6dc051
commit
4d2bfe1078
@ -36,8 +36,7 @@ void setup(void)
|
||||
#endif
|
||||
|
||||
ins.init(AP_InertialSensor::COLD_START,
|
||||
AP_InertialSensor::RATE_50HZ,
|
||||
NULL);
|
||||
AP_InertialSensor::RATE_50HZ);
|
||||
|
||||
// display initial values
|
||||
display_offsets_and_scaling();
|
||||
@ -101,7 +100,7 @@ void run_calibration()
|
||||
|
||||
#if !defined( __AVR_ATmega1280__ )
|
||||
AP_InertialSensor_UserInteractStream interact(hal.console);
|
||||
ins.calibrate_accel(NULL, &interact, roll_trim, pitch_trim);
|
||||
ins.calibrate_accel(&interact, roll_trim, pitch_trim);
|
||||
#else
|
||||
hal.console->println_P(PSTR("calibrate_accel not available on 1280"));
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user