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