commit | 16cd3be690d24a855184b2719bdb736a619540b8 | [log] [tgz] |
---|---|---|
author | Johann Fischer <johann.fischer@nordicsemi.no> | Fri Feb 19 00:01:39 2021 +0100 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Wed Mar 24 15:02:49 2021 +0100 |
tree | 53f8410ac9f79b0a863831bbc37f302e02c8577b | |
parent | cf67a6eeba25d52c48ee14693823ed6aafafa038 [diff] |
drivers: usb_dc_native_posix: rework handle_usb_control/handle_usb_data Use pointer to struct usb_ep_ctrl_prv, which allows to remove a few variables and simplifies subsequent improvements. Use consistently ep_idx in handle_usb_control() instead of ntohl(hdr->common.ep). Revise logging so that it is clearer what event is being processed. Signed-off-by: Johann Fischer <johann.fischer@nordicsemi.no>