mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-14 22:18:14 +08:00
在Web后台增加电源指示灯的开关,修改耗电量统计的定时器逻辑
This commit is contained in:
@@ -80,7 +80,7 @@ void UserRelaySet(unsigned char i, unsigned char on)
|
||||
|
||||
user_config->socket_status[i] = on;
|
||||
|
||||
if (RelayOut())
|
||||
if (RelayOut()&&user_config->power_led_enabled)
|
||||
{
|
||||
UserLedSet(1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user