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
This commit is contained in:
Andrew Chapman 2014-01-15 17:23:31 -08:00 committed by Randy Mackay
parent 1f76ada9dd
commit b7eab7ea22
1 changed files with 1 additions and 0 deletions

View File

@ -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