qmk_firmware

QMK firmware for my keyboards (Corne, Sweep Ferris) and trackball (Ploopy Adept)
Log | Files | Refs | Submodules | LICENSE

commit ae2c77c8272a3b90c75dc2750a0f13a9cd629953
parent 75b40dc7a537e7f223a73c165a3f6f0e2e91817c
Author: Gompa <gompa@h-bomb.nl>
Date:   Thu,  3 Mar 2022 18:24:04 +0100

[Bug] fix v-usb connection enumeration, ifdef workaround (#16511)

Co-authored-by: Joel Challis <git@zvecr.com>
Diffstat:
Mquantum/action_util.c | 4++++
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/quantum/action_util.c b/quantum/action_util.c @@ -270,6 +270,9 @@ void send_keyboard_report(void) { keyboard_report->mods |= weak_override_mods; #endif +#ifdef PROTOCOL_VUSB + host_keyboard_send(keyboard_report); +#else static report_keyboard_t last_report; /* Only send the report if there are changes to propagate to the host. */ @@ -277,6 +280,7 @@ void send_keyboard_report(void) { memcpy(&last_report, keyboard_report, sizeof(report_keyboard_t)); host_keyboard_send(keyboard_report); } +#endif } /** \brief Get mods