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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user