diff --git a/gui/src/js/eventHandler.js b/gui/src/js/eventHandler.js index dc279e3b..0b11b8db 100644 --- a/gui/src/js/eventHandler.js +++ b/gui/src/js/eventHandler.js @@ -20,15 +20,13 @@ import { useSettingsStore } from "../store/settingsStore.js"; const settings = useSettingsStore(pinia); export function stateDispatcher(data) { - console.log(data) - - if (data["freedata-message"] == "state-change") { + console.log(data); + if (data["freedata-message"] == "state-change") { stateStore.channel_busy = data["channel_busy"]; stateStore.is_codec2_traffic = data["is_codec2_traffic"]; stateStore.is_modem_running = data["is_modem_running"]; - /* stateStore.rx_buffer_length = data["rx_buffer_length"];