summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-03-03 17:24:52 +0000
committerQMK Bot <hello@qmk.fm>2022-03-03 17:24:52 +0000
commitb16af15750c809f9fb3ba01ed03e6ab9aedf9dd5 (patch)
tree4424a6a5d3ad1d5c39f10901640d7cc58c2cc61f
parent8a5ad2a11366ec62f231b34263406ee71a516388 (diff)
parentae2c77c8272a3b90c75dc2750a0f13a9cd629953 (diff)
Merge remote-tracking branch 'origin/master' into develop
-rw-r--r--quantum/action_util.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/quantum/action_util.c b/quantum/action_util.c
index 64a1b6b30d..4ea0bf61fb 100644
--- 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