commit | 8985d72ce82ff3f4f48a8222c7fba8cd2abce933 | [log] [tgz] |
---|---|---|
author | Vyacheslav Bocharov <adeep@lexina.in> | Sun Jul 03 15:49:09 2022 +0300 |
committer | Tom Rini <trini@konsulko.com> | Thu Aug 04 13:59:59 2022 -0400 |
tree | 118a1fde61d446482ea93fb33c0b51d220f95c5d | |
parent | cb88d0f398208116a5273f6579f13f791914ba19 [diff] |
cmd: fix do_adc_single() 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@chromium.org>