From 059bcafd749f5f131bf30629f45205d2b458f2ab Mon Sep 17 00:00:00 2001 From: Gunar Schorcht Date: Tue, 15 Aug 2023 13:21:42 +0200 Subject: [PATCH] boards/slwstk6220a: fix DAC configuration --- boards/slwstk6220a/include/periph_conf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boards/slwstk6220a/include/periph_conf.h b/boards/slwstk6220a/include/periph_conf.h index 34a9c29b39..b9ec74f81f 100644 --- a/boards/slwstk6220a/include/periph_conf.h +++ b/boards/slwstk6220a/include/periph_conf.h @@ -83,6 +83,7 @@ static const adc_chan_conf_t adc_channel_config[] = { static const dac_conf_t dac_config[] = { { .dev = DAC0, + .ref = dacRefVDD, .cmu = cmuClock_DAC0, } }; @@ -91,7 +92,6 @@ static const dac_chan_conf_t dac_channel_config[] = { { .dev = 0, .index = 1, - .ref = dacRefVDD, } };