fixed formatting in usb_hid_mouse.rs
This commit is contained in:
parent
f3b96d8ba0
commit
9c870981e3
1 changed files with 3 additions and 4 deletions
|
@ -99,11 +99,10 @@ async fn main(_spawner: Spawner) {
|
||||||
wheel: 0,
|
wheel: 0,
|
||||||
pan: 0,
|
pan: 0,
|
||||||
};
|
};
|
||||||
|
// Send the report.
|
||||||
match writer.write_serialize(&report).await {
|
match writer.write_serialize(&report).await {
|
||||||
Ok(()) => {},
|
Ok(()) => {}
|
||||||
Err(e) => {
|
Err(e) => warn!("Failed to send report: {:?}", e),
|
||||||
warn!("Failed to send report: {:?}", e);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue