Skip to content
Snippets Groups Projects
Commit b7eab7ea authored by Andrew Chapman's avatar Andrew Chapman Committed by Randy Mackay
Browse files

Copter: Added GCS feedback for save_trim()

Trim save gives no feedback, so I've added a gcs_send_text() call to
print "Trim saved" so the user knows to re-center trims again
parent 1f76ada9
No related branches found
No related tags found
No related merge requests found
......@@ -378,6 +378,7 @@ static void save_trim()
float pitch_trim = ToRad((float)g.rc_2.control_in/100.0f);
ahrs.add_trim(roll_trim, pitch_trim);
Log_Write_Event(DATA_SAVE_TRIM);
gcs_send_text_P(SEVERITY_HIGH, PSTR("Trim saved"));
}
// auto_trim - slightly adjusts the ahrs.roll_trim and ahrs.pitch_trim towards the current stick positions
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment