1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-01-17 05:12:57 +01:00

boards/slwstk6220a: fix DAC configuration

This commit is contained in:
Gunar Schorcht 2023-08-15 13:21:42 +02:00
parent 817bb48843
commit 059bcafd74

View File

@ -83,6 +83,7 @@ static const adc_chan_conf_t adc_channel_config[] = {
static const dac_conf_t dac_config[] = { static const dac_conf_t dac_config[] = {
{ {
.dev = DAC0, .dev = DAC0,
.ref = dacRefVDD,
.cmu = cmuClock_DAC0, .cmu = cmuClock_DAC0,
} }
}; };
@ -91,7 +92,6 @@ static const dac_chan_conf_t dac_channel_config[] = {
{ {
.dev = 0, .dev = 0,
.index = 1, .index = 1,
.ref = dacRefVDD,
} }
}; };