~ruther/qmk_firmware

b16af15750c809f9fb3ba01ed03e6ab9aedf9dd5 — QMK Bot 3 years ago 8a5ad2a + ae2c77c
Merge remote-tracking branch 'origin/master' into develop
1 files changed, 4 insertions(+), 0 deletions(-)

M quantum/action_util.c
M quantum/action_util.c => quantum/action_util.c +4 -0
@@ 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