[feat](trx-frontend-http): auto-enable aprs and cw decode

Co-authored-by: Codex <codex@openai.com>
Signed-off-by: Stanislaw Grams <stanislawgrams@gmail.com>
This commit is contained in:
2026-02-09 19:36:12 +01:00
parent 1500a26761
commit 7b4bcb6f04
4 changed files with 20 additions and 28 deletions
@@ -72,10 +72,6 @@ function addAprsPacket(pkt) {
}
}
document.getElementById("aprs-decode-toggle-btn").addEventListener("click", async () => {
try { await postPath("/toggle_aprs_decode"); } catch (e) { console.error("APRS toggle failed", e); }
});
document.getElementById("aprs-clear-btn").addEventListener("click", async () => {
aprsPacketsEl.innerHTML = "";
aprsPacketHistory = [];
@@ -6,10 +6,6 @@ const cwToneInput = document.getElementById("cw-tone");
const cwSignalIndicator = document.getElementById("cw-signal-indicator");
const CW_MAX_LINES = 200;
document.getElementById("cw-decode-toggle-btn").addEventListener("click", async () => {
try { await postPath("/toggle_cw_decode"); } catch (e) { console.error("CW toggle failed", e); }
});
document.getElementById("cw-clear-btn").addEventListener("click", async () => {
cwOutputEl.innerHTML = "";
try { await postPath("/clear_cw_decode"); } catch (e) { console.error("CW clear failed", e); }