X-Git-Url: https://code.octet-stream.net/m17rt/blobdiff_plain/608ca7e33ab51d812607ddcc3429bfa9aa3c34b0..3903e719137aba15d30dd58b8d917965ec602400:/m17core/src/tnc.rs?ds=sidebyside diff --git a/m17core/src/tnc.rs b/m17core/src/tnc.rs index a64f367..b46958c 100644 --- a/m17core/src/tnc.rs +++ b/m17core/src/tnc.rs @@ -217,6 +217,8 @@ impl SoftTnc { pub fn set_now(&mut self, now_samples: u64) { self.now = now_samples; + // TODO: expose this to higher layer so we can schedule a precise delay + // rather than waiting for some soundcard I/O event if let State::TxEndingAtTime(time) = self.state { if now_samples >= time { self.ptt = false;