fix(usb): add USB_DC_CLEAR_HALT to supported states
See https://manpages.debian.org/testing/linux-manual-4.9/usb_clear_halt.9 for information on halted USB endpoints
This commit is contained in:
parent
9f90dd1fc7
commit
c7fdce863a
1 changed files with 1 additions and 0 deletions
|
@ -34,6 +34,7 @@ enum zmk_usb_conn_state zmk_usb_get_conn_state() {
|
||||||
case USB_DC_SUSPEND:
|
case USB_DC_SUSPEND:
|
||||||
case USB_DC_CONFIGURED:
|
case USB_DC_CONFIGURED:
|
||||||
case USB_DC_RESUME:
|
case USB_DC_RESUME:
|
||||||
|
case USB_DC_CLEAR_HALT:
|
||||||
return ZMK_USB_CONN_HID;
|
return ZMK_USB_CONN_HID;
|
||||||
|
|
||||||
case USB_DC_DISCONNECTED:
|
case USB_DC_DISCONNECTED:
|
||||||
|
|
Loading…
Reference in a new issue