mirror of
https://github.com/micropython/micropython.git
synced 2026-01-07 04:30:24 +01:00
Improvements to DAC support for SAMD51: - properly validate DAC id - correctly use dac_init flag, as a 2-ple for A0, A1 channels - disable DAC before adjusting settings, see SAMD5x data sheet §47.6.2.3 Co-authored-by: robert-hh <robert@hammelrath.com> Signed-off-by: Graeme Winter <graeme.winter@gmail.com>