cleanups
This commit is contained in:
parent
164ef6fefa
commit
b9595cca59
4
main.c
4
main.c
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user