Enabled Ch7 simple mode switching

This commit is contained in:
Jason Short 2011-11-28 22:41:12 -08:00
parent 69dd8264e6
commit 9931cacec7
1 changed files with 2 additions and 2 deletions

View File

@ -14,11 +14,11 @@ static void read_control_switch()
set_mode(flight_modes[switchPosition]); set_mode(flight_modes[switchPosition]);
#if CH7_OPTION != CH7_SIMPLE_MODE if(g.ch7_option == CH7_SIMPLE_MODE){
// setup Simple mode // setup Simple mode
// do we enable simple mode? // do we enable simple mode?
do_simple = (g.simple_modes & (1 << switchPosition)); do_simple = (g.simple_modes & (1 << switchPosition));
#endif }
}else{ }else{
switch_debouncer = true; switch_debouncer = true;
} }