Remove debug output

This commit is contained in:
2023-05-07 21:32:58 +02:00
parent 822bd24f04
commit ebfb153d44

View File

@@ -28,7 +28,6 @@ fn find_device() -> Result<Option<HidDevice>, HidError> {
} }
fn hex_prop_is(proplist: &Proplist, prop_name: &str, expected: u16) -> bool { fn hex_prop_is(proplist: &Proplist, prop_name: &str, expected: u16) -> bool {
println!("{}", proplist.get_str(prop_name).unwrap());
proplist proplist
.get_str(prop_name) .get_str(prop_name)
.map(|prop| prop.trim_start_matches("0x").to_owned()) .map(|prop| prop.trim_start_matches("0x").to_owned())