Skip to content

Commit 8df2002

Browse files
committed
use WDTCR bit number for compatibility between t13 and tx5
1 parent 4ffbe20 commit 8df2002

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

avr/cores/picocore/millis.S

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ WDT_vect:
3131
reti
3232

3333
.section .init6
34-
;ldi r16, (1<<6) ; WD ISR EN = WDTCR bit 6
35-
ldi r16, 1<<WDTIE
34+
ldi r16, (1<<6) ; WD ISR EN = WDTCR bit 6
3635
out WDTCR, r16 ; enable WDT interrupt
3736
sei

0 commit comments

Comments
 (0)