more dependencies and exclude ksin on other platforms

This commit is contained in:
lennard
2023-06-13 20:39:54 +02:00
parent 06954a94e9
commit 54eead3bcb
3 changed files with 4 additions and 7 deletions

View File

@@ -22,7 +22,6 @@ fn main() {
fn test_basic_device_access() {
let mut device = match Device::new() {
Ok(device) => device,
Err(error) => return
Err(_) => return
};
device.update_battery_level();
}