ploopyco: fix bitwise typos in opt_encoder_tiny state definitions (#26288)

Fixes a bug in the state machine definitions within `opt_encoder_tiny.c` that caused severely delayed or unresponsive scrolling.
This commit is contained in:
Benoit Brummer
2026-06-22 19:28:13 +02:00
committed by GitHub
parent c638100030
commit 198026cf27
+2 -2
View File
@@ -78,9 +78,9 @@ typedef enum {
UP_BEGIN_MID,
STATE_MASK = 0xf, /* 0b1111 */
EMIT_UP = 0x10,
EMIT_UP_MID = EMIT_UP & START_MID,
EMIT_UP_MID = EMIT_UP | START_MID,
EMIT_DOWN = 0x80,
EMIT_DOWN_MID = EMIT_DOWN & START_MID,
EMIT_DOWN_MID = EMIT_DOWN | START_MID,
EMIT_MASK = 0xf0
} encoder_state_t;