From 6557e3724338cf9c8529d6e5ba036ae8fa65b04c Mon Sep 17 00:00:00 2001 From: Claas Date: Sun, 17 Nov 2024 14:58:41 +0100 Subject: [PATCH] Add log for debugging --- fan-controller/src/main.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/fan-controller/src/main.rs b/fan-controller/src/main.rs index eb7e3f0..58ce5ea 100644 --- a/fan-controller/src/main.rs +++ b/fan-controller/src/main.rs @@ -1219,6 +1219,11 @@ async fn display_status(pin_21: PIN_21, pin_20: PIN_20) { } }; + info!( + "Setting status LEDs to {}, {}", + led_state.0 == Level::High, + led_state.1 == Level::High + ); led_1.set_level(led_state.0); led_2.set_level(led_state.1); -- 2.51.2