commit | 6d55cc6c23efe516fc2912ab310a557689de0f62 | [log] [tgz] |
---|---|---|
author | Ben Marsh <ben.marsh@helvar.com> | Mon Feb 06 12:14:08 2023 +0000 |
committer | Fabio Baltieri <fabio.baltieri@gmail.com> | Tue Feb 28 10:26:26 2023 +0100 |
tree | 2cd5e6ee5fe75ddadf401abfd10f13cfe41b67df | |
parent | 1751c8f0f59df423fb31231856031776cf78f7ce [diff] |
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>