mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-11 20:48:16 +08:00
修复总开关逻辑问题
This commit is contained in:
@@ -420,6 +420,7 @@ void ProcessHaCmd(char* cmd)
|
||||
if (strcmp(mac, str_mac)) return;
|
||||
mqtt_log("set total_socket on[%d]", on);
|
||||
UserRelaySetAll(on);
|
||||
int i =0;
|
||||
for (i = 0; i < SOCKET_NUM; i++)
|
||||
{
|
||||
UserRelaySet(i, user_config->socket_status[i]);
|
||||
|
||||
Reference in New Issue
Block a user