在Web后台增加电源指示灯的开关,修改耗电量统计的定时器逻辑

This commit is contained in:
nhkefus
2025-03-11 10:48:14 +08:00
parent 52580ea751
commit 7af99b3109
7 changed files with 1175 additions and 1076 deletions

View File

@@ -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);
}