mirror of
https://github.com/oopuuu/zTC1.git
synced 2025-12-11 12:38:14 +08:00
在后台增加 1到10击 功能设置
This commit is contained in:
@@ -132,14 +132,13 @@ static void KeyShortPress(int clickCnt) {
|
||||
return;
|
||||
switch (user_config->user[clickCnt]) {
|
||||
case SWITCH_TOTAL_SOCKET:
|
||||
char i;
|
||||
if (RelayOut()) {
|
||||
UserRelaySetAll(0);
|
||||
} else {
|
||||
UserRelaySetAll(1);
|
||||
}
|
||||
|
||||
for (i = 0; i < SOCKET_NUM; i++) {
|
||||
for (int i = 0; i < SOCKET_NUM; i++) {
|
||||
UserMqttSendSocketState(i);
|
||||
}
|
||||
UserMqttSendTotalSocketState();
|
||||
|
||||
Reference in New Issue
Block a user