diff options
| author | Vo Trung Chi <[email protected]> | 2024-03-07 00:59:49 +0700 |
|---|---|---|
| committer | Vo Trung Chi <[email protected]> | 2024-03-07 00:59:49 +0700 |
| commit | 5d53348c76242a83cdd42a69ec2ae418d43f6238 (patch) | |
| tree | 8b576ca7ac152fd159ad81fe112e5084a19eae04 /examples | |
| parent | 61653229b6c0c77235704dc3b4283f57deabc02b (diff) | |
stm32: add usb_hid_mouse example
Signed-off-by: Vo Trung Chi <[email protected]>
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/stm32f4/src/bin/usb_hid_mouse.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/stm32f4/src/bin/usb_hid_mouse.rs b/examples/stm32f4/src/bin/usb_hid_mouse.rs index 0dc5f5804..c98792880 100644 --- a/examples/stm32f4/src/bin/usb_hid_mouse.rs +++ b/examples/stm32f4/src/bin/usb_hid_mouse.rs | |||
| @@ -119,9 +119,9 @@ async fn main(_spawner: Spawner) { | |||
| 119 | } | 119 | } |
| 120 | }; | 120 | }; |
| 121 | 121 | ||
| 122 | // Run everything concurrently. | 122 | // Run everything concurrently. |
| 123 | // If we had made everything `'static` above instead, we could do this using separate tasks instead. | 123 | // If we had made everything `'static` above instead, we could do this using separate tasks instead. |
| 124 | join(usb_fut, hid_fut).await; | 124 | join(usb_fut, hid_fut).await; |
| 125 | } | 125 | } |
| 126 | 126 | ||
| 127 | struct MyRequestHandler {} | 127 | struct MyRequestHandler {} |
