diff --git a/V203/usb/scope/server/wsclient.cpp b/V203/usb/scope/server/wsclient.cpp index b510277..16844bc 100644 --- a/V203/usb/scope/server/wsclient.cpp +++ b/V203/usb/scope/server/wsclient.cpp @@ -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;