From 715e6eb9aa481397f81636373d77d1baa9bdea5e Mon Sep 17 00:00:00 2001 From: Stanislaw Grams Date: Mon, 9 Feb 2026 20:51:14 +0100 Subject: [PATCH] [fix](trx-core): handle cw control commands Co-authored-by: Codex Signed-off-by: Stanislaw Grams --- src/trx-core/src/rig/controller/handlers.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/trx-core/src/rig/controller/handlers.rs b/src/trx-core/src/rig/controller/handlers.rs index f6f2e5e..87e4b0b 100644 --- a/src/trx-core/src/rig/controller/handlers.rs +++ b/src/trx-core/src/rig/controller/handlers.rs @@ -504,6 +504,9 @@ pub fn command_from_rig_command(cmd: RigCommand) -> Box { // map to GetSnapshot as a safe fallback. RigCommand::SetAprsDecodeEnabled(_) | RigCommand::SetCwDecodeEnabled(_) + | RigCommand::SetCwAuto(_) + | RigCommand::SetCwWpm(_) + | RigCommand::SetCwToneHz(_) | RigCommand::ResetAprsDecoder | RigCommand::ResetCwDecoder => Box::new(GetSnapshotCommand), }