zephyr/subsys/usb
Michał Barnaś e0fbd35fc0 usbc: explicitly declare sizes of state machines arrays
The asserts in the USB-C stack functions were causing compilation
errors when asserts were enabled in Kconfig.
This was caused because the asserts checked if the functions
parameters were within limits specified by the state machine arrays.
At the position of these asserts, these arrays were only declared
without specifying the size of them, what prohibited the asserts from
knowing the size of arrays and checking if specified value is within
limit of it.

Signed-off-by: Michał Barnaś <mb@semihalf.com>
2023-03-03 09:17:11 +01:00
..
device usb: device: msc: support larger devices 2023-03-02 13:51:37 +01:00
device_next usb: device_next: fail Mass Storage requests with invalid length 2023-03-01 12:02:29 +01:00
host usb: host: add port power and port reset USB hub features 2022-12-16 13:21:12 +01:00
usb_c usbc: explicitly declare sizes of state machines arrays 2023-03-03 09:17:11 +01:00
CMakeLists.txt usb: add initial USB host support 2022-12-16 13:21:12 +01:00