change mode to correctly display

This commit is contained in:
reaw55 2024-03-31 23:50:59 +07:00
parent 7e7a0b9709
commit 89c4043faa
2 changed files with 9 additions and 9 deletions

View file

@ -864,14 +864,6 @@ void ISEDisplay::updateuserACmode()
switch (user_mode) switch (user_mode)
{ {
case 1: case 1:
this->displayAdapter->print("ac_mode.pic=");
this->displayAdapter->print(COMPONENT_AC_MODE_COOL_PIC);
this->sendStopBytes();
this->displayAdapter->print("ac_mode.pic2=");
this->displayAdapter->print(COMPONENT_AC_MODE_COOL_PIC_PRESSED);
this->sendStopBytes();
break;
case 2:
this->displayAdapter->print("ac_mode.pic="); this->displayAdapter->print("ac_mode.pic=");
this->displayAdapter->print(COMPONENT_AC_MODE_FAN_PIC); this->displayAdapter->print(COMPONENT_AC_MODE_FAN_PIC);
this->sendStopBytes(); this->sendStopBytes();
@ -879,6 +871,14 @@ void ISEDisplay::updateuserACmode()
this->displayAdapter->print(COMPONENT_AC_MODE_FAN_PIC_PRESSED); this->displayAdapter->print(COMPONENT_AC_MODE_FAN_PIC_PRESSED);
this->sendStopBytes(); this->sendStopBytes();
break; break;
case 2:
this->displayAdapter->print("ac_mode.pic=");
this->displayAdapter->print(COMPONENT_AC_MODE_COOL_PIC);
this->sendStopBytes();
this->displayAdapter->print("ac_mode.pic2=");
this->displayAdapter->print(COMPONENT_AC_MODE_COOL_PIC_PRESSED);
this->sendStopBytes();
break;
default: default:
break; break;
} }