mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
[CodeFactor] Apply fixes to commit aef44b1
This commit is contained in:
parent
aef44b1536
commit
11ae37f3b9
1 changed files with 2 additions and 4 deletions
|
@ -20,15 +20,13 @@ import { useSettingsStore } from "../store/settingsStore.js";
|
||||||
const settings = useSettingsStore(pinia);
|
const settings = useSettingsStore(pinia);
|
||||||
|
|
||||||
export function stateDispatcher(data) {
|
export function stateDispatcher(data) {
|
||||||
console.log(data)
|
console.log(data);
|
||||||
|
|
||||||
if (data["freedata-message"] == "state-change") {
|
|
||||||
|
|
||||||
|
if (data["freedata-message"] == "state-change") {
|
||||||
stateStore.channel_busy = data["channel_busy"];
|
stateStore.channel_busy = data["channel_busy"];
|
||||||
stateStore.is_codec2_traffic = data["is_codec2_traffic"];
|
stateStore.is_codec2_traffic = data["is_codec2_traffic"];
|
||||||
stateStore.is_modem_running = data["is_modem_running"];
|
stateStore.is_modem_running = data["is_modem_running"];
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
||||||
stateStore.rx_buffer_length = data["rx_buffer_length"];
|
stateStore.rx_buffer_length = data["rx_buffer_length"];
|
||||||
|
|
Loading…
Reference in a new issue