mirror of
https://github.com/qmk/qmk_firmware
synced 2024-11-08 12:59:41 +00:00
Fix encoder breakage with 4 or more encoders (#23595)
This commit is contained in:
parent
2893038fda
commit
2224a768d5
1 changed files with 1 additions and 1 deletions
|
@ -83,7 +83,7 @@ bool encoder_task(void) {
|
|||
}
|
||||
|
||||
bool encoder_queue_full_advanced(encoder_events_t *events) {
|
||||
return events->head == (events->tail - 1) % MAX_QUEUED_ENCODER_EVENTS;
|
||||
return events->tail == (events->head + 1) % MAX_QUEUED_ENCODER_EVENTS;
|
||||
}
|
||||
|
||||
bool encoder_queue_full(void) {
|
||||
|
|
Loading…
Reference in a new issue