zmk_mf68/app/src
John Drogo 6124d254f9 fix(usb): add USB_DC_RESUME to supported states
All credit for this one goes to @xudongzheng (thanks for helping debug
this!). Should fix the issue where keyboards go unresponsive after their
host machine wakes from sleep due to the USB driver entering an error
state. I was able to both reliably reproduce the issue before the patch
goes in and confirmed it no longer occurs post patch.

The `USB_DC_RESUME` state indicates the host event has resumed the connection.
Adding it to the list of valid connection states to prevent the error
when waking from sleep.

Zephyr API Link:
https://docs.zephyrproject.org/apidoc/latest/group____usb__device__controller__api.html#gac09e3e0af1a2b41a5bfbad91f900baf7

fixes #1372
2022-09-11 13:00:20 -04:00
..
behaviors fix(behaviors): Fixing erroneous combo triggering, hold-taps sticking 2022-08-03 20:09:50 -04:00
display feat(display): Blank on idle optionally. 2022-07-26 14:12:38 -04:00
events feat(display): Add new peripheral status/display 2022-05-17 13:09:21 -04:00
split fix(split): Raise release events on disconnect. 2022-06-12 22:53:02 -04:00
activity.c fix(sleep): use pm_power_state_force for proper device power management 2022-05-17 00:30:47 -04:00
backlight.c fix(backlight): Improve initial power on behaviour 2022-06-25 00:37:00 -04:00
battery.c feat(battery): Add Kconfig setting for battery level report interval 2022-05-17 12:03:57 -04:00
behavior_queue.c refactor: Move to k_work_delayable API. 2022-04-03 00:10:29 -04:00
ble.c refactor(split): Clean up Kconfig organization. 2022-05-29 19:18:09 -04:00
combo.c fix(behaviors): Fixing erroneous combo triggering, hold-taps sticking 2022-08-03 20:09:50 -04:00
conditional_layer.c fix(keymaps): Handle matching then-layers. 2022-06-07 23:41:52 -04:00
endpoints.c fix(usb): Split HID from core USB, logging fix. 2022-04-13 13:07:59 -04:00
event_manager.c fix(behaviors): Fixing erroneous combo triggering, hold-taps sticking 2022-08-03 20:09:50 -04:00
ext_power_generic.c fix(sleep): use pm_power_state_force for proper device power management 2022-05-17 00:30:47 -04:00
hid.c feat(behavior): Add key toggle 2022-06-03 00:04:41 -04:00
hid_listener.c refactor(hid): Move hid logic into hid.c 2022-06-03 00:04:41 -04:00
hog.c refactor: k_work_queue API updates. 2022-04-03 00:10:29 -04:00
keymap.c fix(split): Add define for local source. 2022-01-31 23:03:34 -05:00
kscan.c fix(split): Add define for local source. 2022-01-31 23:03:34 -05:00
main.c fix(display): All display updates in work thread. 2020-12-06 22:47:21 -05:00
matrix_transform.c refactor: replace filename hyphens with underscores 2020-12-28 01:15:35 -05:00
rgb_underglow.c feat(underglow): Add RGB auto off timeout on idle and on usb disconnect 2022-06-25 10:56:36 -04:00
sensors.c refactor(core): Extra event payloads to own types, refactor API. 2021-01-20 07:06:11 -05:00
stdlib.c refactor(splits): Minor cleanups to periph invocation 2022-01-31 23:03:34 -05:00
usb.c fix(usb): add USB_DC_RESUME to supported states 2022-09-11 13:00:20 -04:00
usb_hid.c fix(usb): Split HID from core USB, logging fix. 2022-04-13 13:07:59 -04:00
wpm.c feat: Add WPM calculator and display widget 2021-01-23 18:38:31 -05:00