diff --git a/brightness/src/main.rs b/brightness/src/main.rs index 7e7cc99..5ecb983 100644 --- a/brightness/src/main.rs +++ b/brightness/src/main.rs @@ -33,6 +33,8 @@ fn main() { osd.update(); } + last_b = b; + std::thread::sleep(std::time::Duration::from_secs(refresh_interval)) } }