Skip to content

Commit 73dc8c9

Browse files
committed
touchscreen/hidapi: Don't sleep
Signed-off-by: Daniel Schaefer <[email protected]>
1 parent f486a47 commit 73dc8c9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

framework_lib/src/touchscreen.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,6 @@ impl TouchScreen for HidapiTouchScreen {
8888
self.device.write(&msg).ok()?;
8989
};
9090

91-
thread::sleep(time::Duration::from_millis(1000));
92-
9391
if read_len == 0 {
9492
return Some(vec![]);
9593
}

0 commit comments

Comments
 (0)