[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:
@@ -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); }
|
||||
|
||||
Reference in New Issue
Block a user