aboutsummaryrefslogtreecommitdiff
path: root/examples/stm32l5/src/bin/usb_hid_mouse.rs
diff options
context:
space:
mode:
authormatteo <email>2025-10-01 18:30:15 +0200
committermatteo <email>2025-10-01 18:30:15 +0200
commitd79d433d02ab154e5f8570392fd0ca1ffdf9cac1 (patch)
treef2b268ef58d7960e31575587d9ab0ef9f1eda02a /examples/stm32l5/src/bin/usb_hid_mouse.rs
parent5c8218b8750bed3f4bef7973e250aa830d8c2fe3 (diff)
rename HidSubclass to match hid spec
Diffstat (limited to 'examples/stm32l5/src/bin/usb_hid_mouse.rs')
-rw-r--r--examples/stm32l5/src/bin/usb_hid_mouse.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stm32l5/src/bin/usb_hid_mouse.rs b/examples/stm32l5/src/bin/usb_hid_mouse.rs
index 30dbd2698..f64fde3cb 100644
--- a/examples/stm32l5/src/bin/usb_hid_mouse.rs
+++ b/examples/stm32l5/src/bin/usb_hid_mouse.rs
@@ -77,7 +77,7 @@ async fn main(_spawner: Spawner) {
77 request_handler: Some(&mut request_handler), 77 request_handler: Some(&mut request_handler),
78 poll_ms: 60, 78 poll_ms: 60,
79 max_packet_size: 8, 79 max_packet_size: 8,
80 hid_subclass: HidSubclass::ReportOrBoot, 80 hid_subclass: HidSubclass::Boot,
81 hid_boot_protocol: HidBootProtocol::Mouse, 81 hid_boot_protocol: HidBootProtocol::Mouse,
82 }; 82 };
83 83