Do not auto enable encoder on boot
This commit is contained in:
1 parent
876b2f0db6
commit
3f3a93a440
1 file changed
-1
@@ -44,7 +44,6 @@ uint8_t selectedIndex = 0;
|
||||
void setupEncoder()
|
||||
{
|
||||
lastState = (PINC >> 1) & 0x03;
|
||||
PCICR |= (1 << PCIE1);
|
||||
PCMSK1 |= (1 << PCINT9) | (1 << PCINT10);
|
||||
}
|
||||
void enableEncoder() {
|
||||
|
||||
Reference in new issue
Block a user