[fix](trx-core): handle cw control commands

Co-authored-by: Codex <codex@openai.com>
Signed-off-by: Stanislaw Grams <stanislawgrams@gmail.com>
This commit is contained in:
2026-02-09 20:51:14 +01:00
parent 0daf9e27ae
commit 715e6eb9aa
@@ -504,6 +504,9 @@ pub fn command_from_rig_command(cmd: RigCommand) -> Box<dyn RigCommandHandler> {
// map to GetSnapshot as a safe fallback.
RigCommand::SetAprsDecodeEnabled(_)
| RigCommand::SetCwDecodeEnabled(_)
| RigCommand::SetCwAuto(_)
| RigCommand::SetCwWpm(_)
| RigCommand::SetCwToneHz(_)
| RigCommand::ResetAprsDecoder
| RigCommand::ResetCwDecoder => Box::new(GetSnapshotCommand),
}