Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
usb: Fix building error in usb_descriptor with misra test
When we build tests/kernel/common/kernel.common.misra on bl654_usb we get the following error: subsys/usb/usb_descriptor.c:313:2: error: ISO C90 forbids array 'hwid' whose size cannot be evaluated [-Werror=vla] Fix by removing use of usblen variable in array. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
- Loading branch information