diff options
| author | Mick Chanthaseth <[email protected]> | 2024-02-19 15:28:57 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-02-19 15:28:57 -0800 |
| commit | 9c870981e3696c8afb16951c806cc6678073f7ca (patch) | |
| tree | 049f17a572d138f084c1940572a3281036f3c496 /examples | |
| parent | f3b96d8ba0d5143035a03679d94a4ba14f9652ac (diff) | |
fixed formatting in usb_hid_mouse.rs
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/rp/src/bin/usb_hid_mouse.rs | 7 |
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 | }; |
