浏览代码

display: Fix timeouts.

父节点
当前提交
72e4b09b3e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      display/firmware/src/radio.rs

+ 1
- 1
display/firmware/src/radio.rs 查看文件

@@ -254,6 +254,6 @@ where
254 254
     }
255 255
 
256 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
 }

正在加载...
取消
保存