Updated MCU port default values (clock)

This commit is contained in:
Raphael Assenat 2016-01-22 00:05:36 -05:00
parent 8c3e9c8eec
commit ea5d5cf35d
1 changed files with 4 additions and 4 deletions

8
main.c
View File

@ -196,11 +196,11 @@ void hwinit(void)
* 4: NC Output low * 4: NC Output low
* 3: (no such pin) * 3: (no such pin)
* 2: NC Output low * 2: NC Output low
* 1: RESET (N/A: Reset input per fuses) * 1: RESET (N/A: Reset input per fuses) (left floating)
* 0: XTAL2 (N/A: Crystal oscillator) * 0: XTAL2 (N/A: Crystal oscillator) (left floating)
*/ */
PORTB = 0x00; DDRC = 0xfc;
DDRB = 0xff; PORTC = 0x00;
/* PORTD /* PORTD
* *