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/rp/src/bin/usb_hid_keyboard.rs | |
| parent | 5c8218b8750bed3f4bef7973e250aa830d8c2fe3 (diff) | |
rename HidSubclass to match hid spec
Diffstat (limited to 'examples/rp/src/bin/usb_hid_keyboard.rs')
| -rw-r--r-- | examples/rp/src/bin/usb_hid_keyboard.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/rp/src/bin/usb_hid_keyboard.rs b/examples/rp/src/bin/usb_hid_keyboard.rs index fa78d0c2e..adf91439e 100644 --- a/examples/rp/src/bin/usb_hid_keyboard.rs +++ b/examples/rp/src/bin/usb_hid_keyboard.rs | |||
| @@ -67,7 +67,7 @@ async fn main(_spawner: Spawner) { | |||
| 67 | request_handler: None, | 67 | request_handler: None, |
| 68 | poll_ms: 60, | 68 | poll_ms: 60, |
| 69 | max_packet_size: 64, | 69 | max_packet_size: 64, |
| 70 | hid_subclass: HidSubclass::ReportOrBoot, | 70 | hid_subclass: HidSubclass::Boot, |
| 71 | hid_boot_protocol: HidBootProtocol::Keyboard, | 71 | hid_boot_protocol: HidBootProtocol::Keyboard, |
| 72 | }; | 72 | }; |
| 73 | let hid = HidReaderWriter::<_, 1, 8>::new(&mut builder, &mut state, config); | 73 | let hid = HidReaderWriter::<_, 1, 8>::new(&mut builder, &mut state, config); |
