commit | 3c7b2771b106a6870ca6b5045f7704f07e0b51c9 | [log] [tgz] |
---|---|---|
author | Martin Jäger <martin@libre.solar> | Thu Jun 18 15:46:33 2020 +0200 |
committer | Anas Nashif <anas.nashif@intel.com> | Sat Jan 23 08:27:46 2021 -0500 |
tree | 20e62c7155db3a31d8fb0960bce5d5d4ad409eed | |
parent | 6055f25b13d845be2ef5aadc4e4f39718bf8ca9d [diff] |
drivers: adc: stm32: Fix sequence configuration The STM32 driver currently does not support reading a sequence of multiple ADC channels. Only the first channel of the sequence was read and the rest was silently ignored. Fix: Return an error if reading multiple channels is requested. Signed-off-by: Martin Jäger <martin@libre.solar>