On Sun, 3 Jul 2022 at 06:49, Vyacheslav Bocharov <ad...@lexina.in> 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 > --- > cmd/adc.c | 9 +++++++-- > 1 file changed, 7 insertions(+), 2 deletions(-)
Reviewed-by: Simon Glass <s...@chromium.org> This could use some docs in doc/usage/cmd/