From 374d228ed9ab67fe3a2d9d2d2f3addede4770318 Mon Sep 17 00:00:00 2001 From: GHOSCHT <31184695+GHOSCHT@users.noreply.github.com> Date: Mon, 29 Apr 2024 12:27:27 +0200 Subject: [PATCH] Disable damaged light --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.rs b/src/main.rs index b2fc409..325478f 100644 --- a/src/main.rs +++ b/src/main.rs @@ -37,9 +37,9 @@ fn main() { "on" | "son" => { println!("Turning semi-on..."); port.write(off_cmd).expect("Write failed!"); - for _ in 0..20 { + for _ in 0..40 { port.write(increase1_cmd).expect("Write failed!"); - port.write(increase2_cmd).expect("Write failed!"); + // port.write(increase2_cmd).expect("Write failed!"); } } _ => {