[fix](trx-server): accept CW tone range up to 10 kHz

Expand server-side CW tone command clamping to 100-10000 Hz to match
frontend controls and picker behavior.

Co-authored-by: Codex <codex@openai.com>
Signed-off-by: Stan Grams <sjg@haxx.space>
This commit is contained in:
2026-03-04 23:05:03 +01:00
parent d8f7ebafa0
commit f3f0b1dfd3
+1 -1
View File
@@ -393,7 +393,7 @@ async fn process_command(
return snapshot_from(ctx.state);
}
RigCommand::SetCwToneHz(tone_hz) => {
ctx.state.cw_tone_hz = tone_hz.clamp(300, 1200);
ctx.state.cw_tone_hz = tone_hz.clamp(100, 10_000);
let _ = ctx.state_tx.send(ctx.state.clone());
return snapshot_from(ctx.state);
}