Skip to content

Commit 6634cda

Browse files
committed
fixup! touchscreen: WIP: Try to make it work on windows
1 parent f5022d8 commit 6634cda

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

framework_lib/src/touchscreen.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ fn send_message(device: &HidDevice, message_id: u8, read_len: usize) -> Result<V
1212

1313
// Not sure why, but on Windows we just have to write an output report
1414
#[cfg(target_os = "windows")]
15-
let send_feature_report = true;
16-
#[cfg(not(target_os = "windows"))]
1715
let send_feature_report = false;
16+
#[cfg(not(target_os = "windows"))]
17+
let send_feature_report = true;
1818

1919
if send_feature_report {
2020
debug!(" send_feature_report {:?}", msg);

0 commit comments

Comments
 (0)