Switch display firmware back to CAN mode
This commit is contained in:
parent
f8b0ea29ba
commit
b35c334322
2 changed files with 3 additions and 3 deletions
|
@ -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));
|
||||
|
|
|
@ -236,7 +236,7 @@ static void test2() {
|
|||
int main() {
|
||||
init();
|
||||
while (1) {
|
||||
//loop();
|
||||
test();
|
||||
loop();
|
||||
//test();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue