diff --git a/src/initiator.rs b/src/initiator.rs index 8b57a3b..4f3f1bd 100644 --- a/src/initiator.rs +++ b/src/initiator.rs @@ -107,7 +107,7 @@ impl Sensor for Dummy { -> BoxFuture<'static, (Option, MachineState)> { let step = self.step; - self.step != self.step; + self.step = !self.step; let f = async move { Timer::after(std::time::Duration::from_secs(1)).await;