diff options
Diffstat (limited to 'examples/stm32f4/src/bin')
| -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 | ||
