diff --git a/src/user_code.cpp b/src/user_code.cpp index d9c70a3..b499c13 100644 --- a/src/user_code.cpp +++ b/src/user_code.cpp @@ -480,28 +480,28 @@ void update_lcd_ac() elcd.print("mode.pic2=24"); elcd_send_stop_bit(); } - else if (mode_state == 0) + else if (ac_get_mode() == 0) { elcd_send_stop_bit(); elcd.print("ac_toggle.pic=1"); elcd_send_stop_bit(); elcd.print("ac_toggle.pic2=1"); - if (user_acmode == 1) - { - elcd_send_stop_bit(); - elcd.print("mode.pic=22"); - elcd_send_stop_bit(); - elcd.print("mode.pic2=22"); - elcd_send_stop_bit(); - } - else - { - elcd_send_stop_bit(); - elcd.print("mode.pic=24"); - elcd_send_stop_bit(); - elcd.print("mode.pic2=24"); - elcd_send_stop_bit(); - } + // if (user_acmode == 1) + // { + // elcd_send_stop_bit(); + // elcd.print("mode.pic=22"); + // elcd_send_stop_bit(); + // elcd.print("mode.pic2=22"); + // elcd_send_stop_bit(); + // } + // else + // { + // elcd_send_stop_bit(); + // elcd.print("mode.pic=24"); + // elcd_send_stop_bit(); + // elcd.print("mode.pic2=24"); + // elcd_send_stop_bit(); + // } } /* elcd.print("mode.pic="); elcd.print(mode_state==1?22:24);