diff options
| author | matteo <email> | 2025-10-01 18:30:15 +0200 |
|---|---|---|
| committer | matteo <email> | 2025-10-01 18:30:15 +0200 |
| commit | d79d433d02ab154e5f8570392fd0ca1ffdf9cac1 (patch) | |
| tree | f2b268ef58d7960e31575587d9ab0ef9f1eda02a /examples/stm32f4/src | |
| parent | 5c8218b8750bed3f4bef7973e250aa830d8c2fe3 (diff) | |
rename HidSubclass to match hid spec
Diffstat (limited to 'examples/stm32f4/src')
| -rw-r--r-- | examples/stm32f4/src/bin/usb_hid_keyboard.rs | 2 | ||||
| -rw-r--r-- | examples/stm32f4/src/bin/usb_hid_mouse.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/stm32f4/src/bin/usb_hid_keyboard.rs b/examples/stm32f4/src/bin/usb_hid_keyboard.rs index 740fbcaef..5521a8240 100644 --- a/examples/stm32f4/src/bin/usb_hid_keyboard.rs +++ b/examples/stm32f4/src/bin/usb_hid_keyboard.rs | |||
| @@ -105,7 +105,7 @@ async fn main(_spawner: Spawner) { | |||
| 105 | request_handler: None, | 105 | request_handler: None, |
| 106 | poll_ms: 60, | 106 | poll_ms: 60, |
| 107 | max_packet_size: 8, | 107 | max_packet_size: 8, |
| 108 | hid_subclass: HidSubclass::ReportOrBoot, | 108 | hid_subclass: HidSubclass::Boot, |
| 109 | hid_boot_protocol: HidBootProtocol::Keyboard, | 109 | hid_boot_protocol: HidBootProtocol::Keyboard, |
| 110 | }; | 110 | }; |
| 111 | 111 | ||
diff --git a/examples/stm32f4/src/bin/usb_hid_mouse.rs b/examples/stm32f4/src/bin/usb_hid_mouse.rs index 09af204c4..5cfa0aec4 100644 --- a/examples/stm32f4/src/bin/usb_hid_mouse.rs +++ b/examples/stm32f4/src/bin/usb_hid_mouse.rs | |||
| @@ -95,7 +95,7 @@ async fn main(_spawner: Spawner) { | |||
| 95 | request_handler: Some(&mut request_handler), | 95 | request_handler: Some(&mut request_handler), |
| 96 | poll_ms: 60, | 96 | poll_ms: 60, |
| 97 | max_packet_size: 8, | 97 | max_packet_size: 8, |
| 98 | hid_subclass: HidSubclass::ReportOrBoot, | 98 | hid_subclass: HidSubclass::Boot, |
| 99 | hid_boot_protocol: HidBootProtocol::Mouse, | 99 | hid_boot_protocol: HidBootProtocol::Mouse, |
| 100 | }; | 100 | }; |
| 101 | 101 | ||
