Browse Source

display: Fix timeouts.

Mathias Gottschlag 5 years ago
parent
commit
72e4b09b3e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      display/firmware/src/radio.rs

+ 1
- 1
display/firmware/src/radio.rs View File

254
     }
254
     }
255
 
255
 
256
     fn expired(&self) -> bool {
256
     fn expired(&self) -> bool {
257
-        self.timer.now().elapsed(self.start) > self.timeout
257
+        self.start.elapsed(self.timer.now()) > self.timeout
258
     }
258
     }
259
 }
259
 }

Loading…
Cancel
Save