Browse Source

commented out control mode debug print

master
Jason Short 13 years ago
parent
commit
42b5d47f7b
  1. 9
      ArduCopter/system.pde

9
ArduCopter/system.pde

@ -405,10 +405,9 @@ static void set_mode(byte mode)
mode = STABILIZE; mode = STABILIZE;
} }
old_control_mode = control_mode; old_control_mode = control_mode;
control_mode = mode;
control_mode = mode; control_mode = constrain(control_mode, 0, NUM_MODES - 1);
control_mode = constrain(control_mode, 0, NUM_MODES - 1);
// used to stop fly_aways // used to stop fly_aways
motor_auto_armed = (g.rc_3.control_in > 0); motor_auto_armed = (g.rc_3.control_in > 0);
@ -429,7 +428,7 @@ static void set_mode(byte mode)
land_complete = false; land_complete = false;
// debug to Serial terminal // 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 // report the GPS and Motor arming status
led_mode = NORMAL_LEDS; led_mode = NORMAL_LEDS;

Loading…
Cancel
Save