From c76ce068b3d5074096338bf48bb6d73be32a8f76 Mon Sep 17 00:00:00 2001 From: arosspope Date: Sun, 24 Dec 2023 17:54:35 +1100 Subject: [PATCH] Some comments --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 3aee785..86df7e7 100644 --- a/src/main.rs +++ b/src/main.rs @@ -149,8 +149,8 @@ fn main() -> anyhow::Result<()> { wifi.poll()?; if let Ok(mut t) = ticker.lock() { + // Advance the scrolling display t.tick(); - std::thread::sleep(std::time::Duration::from_millis(t.speed_ms as u64)); } }