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/gen_config.py | |
| 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/gen_config.py')
| -rw-r--r-- | embassy-usb/gen_config.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/embassy-usb/gen_config.py b/embassy-usb/gen_config.py index 55a7fa3c0..67ce359cd 100644 --- a/embassy-usb/gen_config.py +++ b/embassy-usb/gen_config.py | |||
| @@ -28,6 +28,7 @@ def feature(name, default, min, max, pow2=None): | |||
| 28 | 28 | ||
| 29 | 29 | ||
| 30 | feature("max_interface_count", default=4, min=1, max=8) | 30 | feature("max_interface_count", default=4, min=1, max=8) |
| 31 | feature("max_handler_count", default=4, min=1, max=8) | ||
| 31 | 32 | ||
| 32 | # ========= Update Cargo.toml | 33 | # ========= Update Cargo.toml |
| 33 | 34 | ||
