정상동작 확인
This commit is contained in:
@@ -549,9 +549,12 @@ const char serial_terminal_html[] PROGMEM = R"rawliteral(
|
||||
} else if (data.type === 'serialStatus' || data.type === 'update') {
|
||||
updateStatus(data);
|
||||
} else if (data.type === 'pong') {
|
||||
// keepalive } else if (data.type === 'usbMirrorState') {
|
||||
// keepalive
|
||||
} else if (data.type === 'usbMirrorState') {
|
||||
usbMirrorEnabled = data.enabled;
|
||||
updateToggle('btn-usbmirror', usbMirrorEnabled, '🔌 USB Mirror');
|
||||
} else if (data.type === 'webLog') {
|
||||
showWebLog(data.msg);
|
||||
}
|
||||
} catch (e) {
|
||||
console.error('Parse error:', e);
|
||||
|
||||
Reference in New Issue
Block a user