Do not auto enable encoder on boot

This commit is contained in:
C0d3v 2026-01-15 20:06:19 +01:00
parent 876b2f0db6
commit 3f3a93a440

View File

@ -44,7 +44,6 @@ uint8_t selectedIndex = 0;
void setupEncoder() void setupEncoder()
{ {
lastState = (PINC >> 1) & 0x03; lastState = (PINC >> 1) & 0x03;
PCICR |= (1 << PCIE1);
PCMSK1 |= (1 << PCINT9) | (1 << PCINT10); PCMSK1 |= (1 << PCINT9) | (1 << PCINT10);
} }
void enableEncoder() { void enableEncoder() {