Switch display firmware back to CAN mode

This commit is contained in:
Gregor Riepl 2022-01-11 01:23:23 +01:00
parent f8b0ea29ba
commit b35c334322
2 changed files with 3 additions and 3 deletions

View file

@ -11,7 +11,7 @@
// BUTTON7 PC1 // BUTTON7 PC1
void button_init() { 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)); PORTD &= ~(_BV(PD0) | _BV(PD1) | _BV(PD5) | _BV(PD6) | _BV(PD7));
DDRD &= ~(_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)); PORTC &= ~(_BV(PC0) | _BV(PC1));

View file

@ -236,7 +236,7 @@ static void test2() {
int main() { int main() {
init(); init();
while (1) { while (1) {
//loop(); loop();
test(); //test();
} }
} }