forked from mirrors/qmk_userspace
Fixed macro doesn't work correctly with NKRO
This commit is contained in:
parent
8e390f92a2
commit
0c05eef6cd
2 changed files with 0 additions and 6 deletions
|
@ -362,13 +362,10 @@ void wireless_send_nkro(report_nkro_t *report) {
|
|||
if (wireless_state == WT_CONNECTED || (wireless_state == WT_PARING && pincodeEntry)) {
|
||||
if (wireless_transport.send_nkro) {
|
||||
#ifndef DISABLE_REPORT_BUFFER
|
||||
|
||||
report_buffer_t report_buffer;
|
||||
report_buffer.type = REPORT_TYPE_NKRO;
|
||||
memcpy(&report_buffer.nkro, report, sizeof(report_nkro_t));
|
||||
report_buffer_enqueue(&report_buffer);
|
||||
|
||||
wireless_transport.send_nkro(&report->mods);
|
||||
#else
|
||||
wireless_transport.send_nkro(&report->mods);
|
||||
#endif
|
||||
|
|
|
@ -374,13 +374,10 @@ void wireless_send_nkro(report_nkro_t *report) {
|
|||
if (wireless_state == WT_CONNECTED || (wireless_state == WT_PARING && pincodeEntry)) {
|
||||
if (wireless_transport.send_nkro) {
|
||||
#ifndef DISABLE_REPORT_BUFFER
|
||||
|
||||
report_buffer_t report_buffer;
|
||||
report_buffer.type = REPORT_TYPE_NKRO;
|
||||
memcpy(&report_buffer.nkro, report, sizeof(report_nkro_t));
|
||||
report_buffer_enqueue(&report_buffer);
|
||||
|
||||
wireless_transport.send_nkro(&report->mods);
|
||||
#else
|
||||
wireless_transport.send_nkro(&report->mods);
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue