Fix possible conflicts with portD

This commit is contained in:
Cyrille Meichel 2017-02-27 08:29:23 +01:00
parent 2ead31ac5c
commit 2993d6b11b
1 changed files with 2 additions and 1 deletions

View File

@ -340,7 +340,8 @@ int main(void) {
PORTD = 0;
PORTB = 0;
/* all outputs except PD2 = INT0 */
DDRD = ~(1 << 2);
/*DDRD = ~(1 << 2);*/
DDRD = 0x00;
/* output SE0 for USB reset */
DDRB = ~0;