[docs](trx-server): fix meter tick comment to reflect actual rate
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> Signed-off-by: Stan Grams <sjg@haxx.space>
This commit is contained in:
@@ -256,7 +256,7 @@ pub async fn run_rig_task(
|
|||||||
|
|
||||||
// SDR backends can refresh signal strength cheaply (cached DSP value),
|
// SDR backends can refresh signal strength cheaply (cached DSP value),
|
||||||
// so we run a fast meter tick between full polls to keep the S-meter
|
// so we run a fast meter tick between full polls to keep the S-meter
|
||||||
// responsive — at least half the spectrum redraw rate (~100 ms).
|
// responsive — matching the spectrum redraw rate (~100 ms).
|
||||||
let is_sdr = rig.as_sdr_ref().is_some();
|
let is_sdr = rig.as_sdr_ref().is_some();
|
||||||
let meter_tick_duration = Duration::from_millis(100);
|
let meter_tick_duration = Duration::from_millis(100);
|
||||||
let mut meter_tick: std::pin::Pin<Box<tokio::time::Sleep>> = if is_sdr {
|
let mut meter_tick: std::pin::Pin<Box<tokio::time::Sleep>> = if is_sdr {
|
||||||
|
|||||||
Reference in New Issue
Block a user