Fixes that stupid error

This commit is contained in:
Gregor Reitzenstein 2020-12-09 11:14:17 +01:00
parent 21d6abda24
commit bb73b62722

View File

@ -107,7 +107,7 @@ impl Sensor for Dummy {
-> BoxFuture<'static, (Option<User>, MachineState)> -> BoxFuture<'static, (Option<User>, MachineState)>
{ {
let step = self.step; let step = self.step;
self.step != self.step; self.step = !self.step;
let f = async move { let f = async move {
Timer::after(std::time::Duration::from_secs(1)).await; Timer::after(std::time::Duration::from_secs(1)).await;