diff options
| author | Dario Nieuwenhuis <[email protected]> | 2023-02-07 22:49:14 +0100 |
|---|---|---|
| committer | Dario Nieuwenhuis <[email protected]> | 2023-02-08 00:17:08 +0100 |
| commit | 3af991ab63d14cfad6f50d28bfb944d1895d1c70 (patch) | |
| tree | 575fecf6f47fbfd7116070aff2ffd5f4e84c7cf1 /embassy-usb/build.rs | |
| parent | 1d841cc8ac74feacc4d231958ce2c46419ae3bda (diff) | |
usb: unify ControlHandler+DeviceStateHandler, route all control requests to all handlers.
- Allows classes to handle vendor requests.
- Allows classes to use a single handler for multiple interfaces.
- Allows classes to access the other events (previously only `reset` was available).
Diffstat (limited to 'embassy-usb/build.rs')
| -rw-r--r-- | embassy-usb/build.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/embassy-usb/build.rs b/embassy-usb/build.rs index 524bdc2f6..33d32f7d3 100644 --- a/embassy-usb/build.rs +++ b/embassy-usb/build.rs | |||
| @@ -7,6 +7,7 @@ static CONFIGS: &[(&str, usize)] = &[ | |||
| 7 | // BEGIN AUTOGENERATED CONFIG FEATURES | 7 | // BEGIN AUTOGENERATED CONFIG FEATURES |
| 8 | // Generated by gen_config.py. DO NOT EDIT. | 8 | // Generated by gen_config.py. DO NOT EDIT. |
| 9 | ("MAX_INTERFACE_COUNT", 4), | 9 | ("MAX_INTERFACE_COUNT", 4), |
| 10 | ("MAX_HANDLER_COUNT", 4), | ||
| 10 | // END AUTOGENERATED CONFIG FEATURES | 11 | // END AUTOGENERATED CONFIG FEATURES |
| 11 | ]; | 12 | ]; |
| 12 | 13 | ||
