Skip to content
Commit 6ac47744 authored by Vyacheslav Bocharov's avatar Vyacheslav Bocharov Committed by Tom Rini
Browse files

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 54d24d72
  cmd: simplify do_adc_single()

Fixes 9de612ae
  cmd: adc: Add support for storing ADC result in env variable
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 11d30963
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment