mirror of
https://github.com/HASwitchPlate/openHASP.git
synced 2025-07-29 06:06:40 +00:00
Disable fade #641
This commit is contained in:
parent
25a73b4255
commit
d3b5658385
@ -295,7 +295,7 @@ bool Esp32Device::get_backlight_invert()
|
|||||||
void Esp32Device::set_backlight_level(uint8_t level)
|
void Esp32Device::set_backlight_level(uint8_t level)
|
||||||
{
|
{
|
||||||
_backlight_level = level;
|
_backlight_level = level;
|
||||||
update_backlight(true);
|
update_backlight(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t Esp32Device::get_backlight_level()
|
uint8_t Esp32Device::get_backlight_level()
|
||||||
@ -306,7 +306,7 @@ uint8_t Esp32Device::get_backlight_level()
|
|||||||
void Esp32Device::set_backlight_power(bool power)
|
void Esp32Device::set_backlight_power(bool power)
|
||||||
{
|
{
|
||||||
_backlight_power = power;
|
_backlight_power = power;
|
||||||
update_backlight(true);
|
update_backlight(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Esp32Device::get_backlight_power()
|
bool Esp32Device::get_backlight_power()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user