fixed formatting in usb_hid_mouse.rs

This commit is contained in:
Mick Chanthaseth 2024-02-19 15:28:57 -08:00 committed by GitHub
parent f3b96d8ba0
commit 9c870981e3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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);
}
} }
} }
}; };