Skip to content
Snippets Groups Projects
Commit 39123641 authored by Randy Mackay's avatar Randy Mackay
Browse files

Copter: bug fix for autotrim's roll axis backwards

parent 21ff3853
No related branches found
No related tags found
No related merge requests found
...@@ -192,7 +192,7 @@ static void auto_trim() ...@@ -192,7 +192,7 @@ static void auto_trim()
led_mode = SAVE_TRIM_LEDS; led_mode = SAVE_TRIM_LEDS;
// calculate roll trim adjustment // calculate roll trim adjustment
float roll_trim_adjustment = ToRad((float)-g.rc_1.control_in / 4000.0); float roll_trim_adjustment = ToRad((float)g.rc_1.control_in / 4000.0);
// calculate pitch trim adjustment // calculate pitch trim adjustment
float pitch_trim_adjustment = ToRad((float)g.rc_2.control_in / 4000.0); float pitch_trim_adjustment = ToRad((float)g.rc_2.control_in / 4000.0);
......
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