
15 Apr
2022
15 Apr
'22
11:05 a.m.
Hi Marek,
On 4/14/22 18:52, Marek Vasut wrote:
Add the ability to save ADC conversion result in an environment variable. This is useful for further arbitrary processing by the U-Boot scripts.
Signed-off-by: Marek Vasut marex@denx.de Cc: Fabrice Gasnier fabrice.gasnier@foss.st.com Cc: Patrice Chotard patrice.chotard@foss.st.com Cc: Patrick Delaunay patrick.delaunay@foss.st.com Cc: Simon Glass sjg@chromium.org
V2: - Fix up commit message - Call adc_raw_to_uV() only once
cmd/adc.c | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-)
Reviewed-by: Patrick Delaunay patrick.delaunay@foss.st.com
Thanks Patrick