27f207694c
USB device shall be able to send only in CONFIGURED state. Zephyr USB HID device class allows to send the data no matter of the USB state what is wrong. Attempting to write to endpoint buffer in state != CONFIGURED may lead to driver error. This patch introduces state tracing for USB HID class and allows to send data using hid_int_ep_write() class API only if the device remains in CONFIGURED state. Signed-off-by: Emil Obalski <emil.obalski@nordicsemi.no> |
||
---|---|---|
.. | ||
canbus | ||
console | ||
fs | ||
ipc | ||
logging | ||
mgmt | ||
nvs | ||
power/device_pm | ||
settings | ||
shell | ||
tracing | ||
usb | ||
subsys.rst |