change mode to correctly display
This commit is contained in:
parent
7e7a0b9709
commit
89c4043faa
2 changed files with 9 additions and 9 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -74,7 +74,7 @@ class ISEDisplay : public ESPMegaDisplay {
|
||||||
u_int8_t lightLevelRow3;
|
u_int8_t lightLevelRow3;
|
||||||
u_int8_t lightLevelRow4;
|
u_int8_t lightLevelRow4;
|
||||||
|
|
||||||
|
|
||||||
void updateuserACmode();
|
void updateuserACmode();
|
||||||
void updateACfanSpeed();
|
void updateACfanSpeed();
|
||||||
bool calculateLightGroupState();
|
bool calculateLightGroupState();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue