This commit is contained in:
Olaf Rempel 2007-10-05 23:16:44 +02:00
parent 164ef6fefa
commit b9595cca59

4
main.c
View File

@ -266,7 +266,7 @@ int main(void)
DDRB = LED_GN | LED_RT;
PORTB = LED_GN;
/* move tnterrupt-vectors to bootloader */
/* move interrupt-vectors to bootloader */
GICR = (1<<IVCE);
GICR = (1<<IVSEL);
@ -293,7 +293,7 @@ int main(void)
/* move interrupt vectors back to application */
GICR = (1<<IVCE);
GICR = 0x00;
GICR = (0<<IVSEL);
PORTB = 0x00;