mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 03:21:48 +08:00
Merge remote-tracking branch 'origin/master' into develop
This commit is contained in:
commit
82f7e7d7fe
|
@ -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