Do not auto enable encoder on boot
This commit is contained in:
parent
876b2f0db6
commit
3f3a93a440
@ -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() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user