mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 02:18:29 -04:00
ArduCopter: remove unnecessary debug print mesage from save_trim function
This commit is contained in:
parent
c8bc64be61
commit
95771692f0
@ -172,7 +172,6 @@ static void save_trim()
|
|||||||
roll_trim = ToRad((float)g.rc_1.control_in/100.0);
|
roll_trim = ToRad((float)g.rc_1.control_in/100.0);
|
||||||
pitch_trim = ToRad((float)g.rc_2.control_in/100.0);
|
pitch_trim = ToRad((float)g.rc_2.control_in/100.0);
|
||||||
ahrs.add_trim(roll_trim, pitch_trim);
|
ahrs.add_trim(roll_trim, pitch_trim);
|
||||||
Serial.printf_P(PSTR("\nTrim Roll:%4.2f Pitch:%4.2f\n"),ToDeg(roll_trim), ToDeg(pitch_trim));
|
|
||||||
|
|
||||||
reset_control_switch();
|
reset_control_switch();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user