sync server setting

This commit is contained in:
Kizarm 2024-10-30 21:41:21 +01:00
parent afd7795f8e
commit df6193040f

View file

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