Browse Source

Fixing reversed Simple mode switch

mission-4.1.18
Jason Short 13 years ago
parent
commit
54c8e1033c
  1. 6
      ArduCopter/control_modes.pde

6
ArduCopter/control_modes.pde

@ -14,9 +14,9 @@ static void read_control_switch() @@ -14,9 +14,9 @@ static void read_control_switch()
set_mode(flight_modes[switchPosition]);
if(g.ch7_option == CH7_SIMPLE_MODE){
// setup Simple mode
// do we enable simple mode?
if(g.ch7_option != CH7_SIMPLE_MODE){
// set Simple mode using stored paramters from Mission planner
// rather than by the control switch
do_simple = (g.simple_modes & (1 << switchPosition));
}
}else{

Loading…
Cancel
Save