diff --git a/display/firmware/button.c b/display/firmware/button.c index b46eb4d..bbcedff 100644 --- a/display/firmware/button.c +++ b/display/firmware/button.c @@ -11,7 +11,7 @@ // BUTTON7 PC1 void button_init() { - // PD0, PD1, PD5, PD6, PD7, PC0, PC1: input, no pullup (button0..6,7) + // PD0, PD1, PD5, PD6, PD7, PC0, PC1: input, no pullup (button0..5,7) PORTD &= ~(_BV(PD0) | _BV(PD1) | _BV(PD5) | _BV(PD6) | _BV(PD7)); DDRD &= ~(_BV(PD0) | _BV(PD1) | _BV(PD5) | _BV(PD6) | _BV(PD7)); PORTC &= ~(_BV(PC0) | _BV(PC1)); diff --git a/display/firmware/main.c b/display/firmware/main.c index 7b0d561..6cdd274 100644 --- a/display/firmware/main.c +++ b/display/firmware/main.c @@ -236,7 +236,7 @@ static void test2() { int main() { init(); while (1) { - //loop(); - test(); + loop(); + //test(); } }