diff --git a/fan-controller/src/main.rs b/fan-controller/src/main.rs index 602d606..fe893d5 100644 --- a/fan-controller/src/main.rs +++ b/fan-controller/src/main.rs @@ -502,6 +502,8 @@ async fn fan_control_routine( //TODO retry logic info!("Received fan state"); // Instruct modbus to send update + //TODO restart waiting for lock when the fan state gets updated before the lock is released + let fans = fans.get().await.lock().await.deref_mut(); } }