zephyr/samples/drivers/adc/src
Ben Marsh 6d55cc6c23 samples/drivers/adc: Support 16-bit resolution
Zephyr supports ADCs with 16-bit resolution, but the ADC sample
displayed readings for such incorrectly due to too-small datatype

This commit fixes the ADC sample for ADCs with 16-bit resolution

Signed-off-by: Ben Marsh <ben.marsh@helvar.com>
2023-02-28 10:26:26 +01:00
..
main.c samples/drivers/adc: Support 16-bit resolution 2023-02-28 10:26:26 +01:00