fix toggle 2
This commit is contained in:
parent
a6f1eb34e3
commit
74cb7530fe
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue