[fix](trx-frontend): let decoder disable take scheduler control
When a scheduler-managed decoder is manually disabled from the frontend, take scheduler control first so the manual change overrides the current scheduler cycle like a direct frequency change does. Track decoder enabled state on the toggle buttons and only take over when the click is actually disabling FT8, FT4, FT2, WSPR, or HF APRS. Co-Authored-By: OpenAI Codex <noreply@openai.com> Signed-off-by: Stanislaw Grams <stanislawgrams@gmail.com>
This commit is contained in:
@@ -111,6 +111,7 @@ async function vchanTakeSchedulerControl() {
|
||||
console.error("scheduler control takeover failed", e);
|
||||
}
|
||||
}
|
||||
window.vchanTakeSchedulerControl = vchanTakeSchedulerControl;
|
||||
|
||||
// Called by app.js when the SSE `session` event arrives.
|
||||
function vchanHandleSession(data) {
|
||||
|
||||
Reference in New Issue
Block a user