Skip to content

Commit

Permalink
Remove repeat timer reset in queue
Browse files Browse the repository at this point in the history
  • Loading branch information
jincao1 committed Mar 10, 2024
1 parent bbb28e1 commit 1e00d8d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion keyboards/nuphy/air75_v2/ansi/rf.c
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,6 @@ void uart_send_repeat_from_queue(void) {
static bool do_repeat = true;
if (timer_elapsed32(dequeue_timer) > 25 && !rf_queue.is_empty()) {
rf_queue.dequeue(&report_buff);
repeat_timer = 0;
dequeue_timer = timer_read32();
// Repeat only keyboard reports. Extra reports actually repeat the keys.
do_repeat = (report_buff.cmd == CMD_RPT_BYTE_KB || report_buff.cmd == CMD_RPT_BIT_KB);
Expand Down

0 comments on commit 1e00d8d

Please sign in to comment.