diff --git a/controller/src/logic/mod.rs b/controller/src/logic/mod.rs index f690aa30bc7eb6518974dca16c0d02431ad6011f..a54caf0ad18881189183e53e6756f27e594efc48 100644 --- a/controller/src/logic/mod.rs +++ b/controller/src/logic/mod.rs @@ -42,7 +42,6 @@ async fn i2c_engine(i2c2: I2C2, encoders: Encoders<'static>) { } fn i2c_callback(command: &[u8], response: &mut Vec<u8, MESSAGE_SIZE>, state: &mut State) { - #[allow(static_mut_refs)] if process_command(state, command, response) { watchdog::ping(); } else {