Skip to content

Commit 9420621

Browse files
Roy, ElizabethRoy, Elizabeth
Roy, Elizabeth
authored and
Roy, Elizabeth
committed
Fixed wrong reset value to DACREF register
1 parent 0a83a42 commit 9420621

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cores/arduino/wiring.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ void init()
331331

332332
AC0.CTRLA = 0x00;
333333
AC0.MUXCTRLA = 0x00;
334-
AC0.DACREF = 0x00;
334+
AC0.DACREF = 0xFF;
335335

336336
VREF.CTRLB = 0x00;
337337
VREF.CTRLA = 0x00;

0 commit comments

Comments
 (0)