mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
commented out control mode debug print
This commit is contained in:
parent
0eec6d462f
commit
ac81ddef04
@ -405,10 +405,9 @@ static void set_mode(byte mode)
|
||||
mode = STABILIZE;
|
||||
}
|
||||
|
||||
old_control_mode = control_mode;
|
||||
|
||||
control_mode = mode;
|
||||
control_mode = constrain(control_mode, 0, NUM_MODES - 1);
|
||||
old_control_mode = control_mode;
|
||||
control_mode = mode;
|
||||
control_mode = constrain(control_mode, 0, NUM_MODES - 1);
|
||||
|
||||
// used to stop fly_aways
|
||||
motor_auto_armed = (g.rc_3.control_in > 0);
|
||||
@ -429,7 +428,7 @@ static void set_mode(byte mode)
|
||||
land_complete = false;
|
||||
|
||||
// debug to Serial terminal
|
||||
Serial.println(flight_mode_strings[control_mode]);
|
||||
//Serial.println(flight_mode_strings[control_mode]);
|
||||
|
||||
// report the GPS and Motor arming status
|
||||
led_mode = NORMAL_LEDS;
|
||||
|
Loading…
Reference in New Issue
Block a user