mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-13 13:38:14 +08:00
Merge branch 'oopuuu:master' into master
This commit is contained in:
@@ -420,6 +420,7 @@ void ProcessHaCmd(char* cmd)
|
|||||||
if (strcmp(mac, str_mac)) return;
|
if (strcmp(mac, str_mac)) return;
|
||||||
mqtt_log("set total_socket on[%d]", on);
|
mqtt_log("set total_socket on[%d]", on);
|
||||||
UserRelaySetAll(on);
|
UserRelaySetAll(on);
|
||||||
|
int i =0;
|
||||||
for (i = 0; i < SOCKET_NUM; i++)
|
for (i = 0; i < SOCKET_NUM; i++)
|
||||||
{
|
{
|
||||||
UserRelaySet(i, user_config->socket_status[i]);
|
UserRelaySet(i, user_config->socket_status[i]);
|
||||||
|
|||||||
Reference in New Issue
Block a user