[PATCH] cmd: fix do_adc_single()

Tom Rini trini at konsulko.com
Thu Aug 4 22:52:21 CEST 2022


On Sun, Jul 03, 2022 at 03:49:09PM +0300, Vyacheslav Bocharov wrote:

> The source code contains an error:
> - argv[2] contains <channel> arg, variable for env_set is in argv[3]
> - number of args is 4
> 
> Revert 54d24d72601321f4470c4edf31c6b29adae424a7
>   cmd: simplify do_adc_single()
> 
> Fixes 9de612ae4ded53f742f5f99929c06d0839471ced
>   cmd: adc: Add support for storing ADC result in env variable
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20220804/c6991b05/attachment.sig>


More information about the U-Boot mailing list