diff options
| author | Dario Nieuwenhuis <[email protected]> | 2022-05-09 02:07:48 +0200 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2022-05-09 02:07:48 +0200 |
| commit | 2e104170de36295243608fbbebebdc6f52e8f8d0 (patch) | |
| tree | dd9c72b14006ee682eef35000f6f1744d8b897dc /examples/nrf/src/bin/usb_serial_multitask.rs | |
| parent | e9ab960ebf1ab5da2e062663079b77aebf51c40f (diff) | |
usb: remove address arg from endpoint allocation.
Diffstat (limited to 'examples/nrf/src/bin/usb_serial_multitask.rs')
| -rw-r--r-- | examples/nrf/src/bin/usb_serial_multitask.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/nrf/src/bin/usb_serial_multitask.rs b/examples/nrf/src/bin/usb_serial_multitask.rs index 31e0af483..d8fac7a24 100644 --- a/examples/nrf/src/bin/usb_serial_multitask.rs +++ b/examples/nrf/src/bin/usb_serial_multitask.rs | |||
| @@ -64,7 +64,7 @@ async fn main(spawner: Spawner, p: Peripherals) { | |||
| 64 | device_descriptor: [u8; 256], | 64 | device_descriptor: [u8; 256], |
| 65 | config_descriptor: [u8; 256], | 65 | config_descriptor: [u8; 256], |
| 66 | bos_descriptor: [u8; 256], | 66 | bos_descriptor: [u8; 256], |
| 67 | control_buf: [u8; 7], | 67 | control_buf: [u8; 64], |
| 68 | serial_state: State<'static>, | 68 | serial_state: State<'static>, |
| 69 | } | 69 | } |
| 70 | static RESOURCES: Forever<Resources> = Forever::new(); | 70 | static RESOURCES: Forever<Resources> = Forever::new(); |
| @@ -72,7 +72,7 @@ async fn main(spawner: Spawner, p: Peripherals) { | |||
| 72 | device_descriptor: [0; 256], | 72 | device_descriptor: [0; 256], |
| 73 | config_descriptor: [0; 256], | 73 | config_descriptor: [0; 256], |
| 74 | bos_descriptor: [0; 256], | 74 | bos_descriptor: [0; 256], |
| 75 | control_buf: [0; 7], | 75 | control_buf: [0; 64], |
| 76 | serial_state: State::new(), | 76 | serial_state: State::new(), |
| 77 | }); | 77 | }); |
| 78 | 78 | ||
