sync server setting
This commit is contained in:
parent
afd7795f8e
commit
df6193040f
1 changed files with 2 additions and 0 deletions
|
@ -153,6 +153,8 @@ void WsClient::parse_reply(const char * data, const int len) {
|
|||
as.common [n] = from_hex (data + k);
|
||||
k += 2;
|
||||
}
|
||||
// ulož zpět, synchronizace serveru
|
||||
memcpy (&trigerSettings, &as.part.trg, sizeof(TrigerSettings));
|
||||
json msg;
|
||||
msg["channel"] = as.part.trg.channel;
|
||||
msg["mode"] = as.part.trg.mode;
|
||||
|
|
Loading…
Reference in a new issue