Sergey Vlasov 1 week ago
committed by GitHub
parent
commit
d483fe6306
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      quantum/encoder.c

+ 1
- 1
quantum/encoder.c View File

@ -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…
Cancel
Save