소스 검색

display: Fix timeouts.

Mathias Gottschlag 5 년 전
부모
커밋
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
 }

Loading…
취소
저장