aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/rp/src/bin/usb_hid_mouse.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/examples/rp/src/bin/usb_hid_mouse.rs b/examples/rp/src/bin/usb_hid_mouse.rs
index d2c63605a..3a5201b59 100644
--- a/examples/rp/src/bin/usb_hid_mouse.rs
+++ b/examples/rp/src/bin/usb_hid_mouse.rs
@@ -99,11 +99,10 @@ async fn main(_spawner: Spawner) {
99 wheel: 0, 99 wheel: 0,
100 pan: 0, 100 pan: 0,
101 }; 101 };
102 // Send the report.
102 match writer.write_serialize(&report).await { 103 match writer.write_serialize(&report).await {
103 Ok(()) => {}, 104 Ok(()) => {}
104 Err(e) => { 105 Err(e) => warn!("Failed to send report: {:?}", e),
105 warn!("Failed to send report: {:?}", e);
106 }
107 } 106 }
108 } 107 }
109 }; 108 };