diff --git a/src/ec/controller.rs b/src/ec/controller.rs index 189a0e1..52e2e98 100644 --- a/src/ec/controller.rs +++ b/src/ec/controller.rs @@ -133,7 +133,7 @@ impl embedded_io::Write for EmbeddedController { super::ports::outl(self.data_address, u32::from_ne_bytes(l)); } } - + self.cmd_requested = 0; Ok(buf.len()) } @@ -179,6 +179,7 @@ impl embedded_io::Read for EmbeddedController { } } } + self.cmd_requested = 0; Ok(buf.len()) } }