diff options
author | Aseda Aboagye <aaboagye@google.com> | 2017-09-16 17:17:59 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-09-21 01:07:53 -0700 |
commit | 60b77099e0b7a0bd40e7504c2752091c378a2f1d (patch) | |
tree | c08c4afd2b6d6608b4fce2fc9269d3119224a92a /board | |
parent | d9a7b48d352a654e47e3b9233952ab3337da7bcb (diff) | |
download | chrome-ec-60b77099e0b7a0bd40e7504c2752091c378a2f1d.tar.gz |
zoombini: Correct Vbus ADC channel.
The Vbus adc channel was defined as 0 in the enum, however, we don't
actually have a Vbus ADC channel, therefore it should be defined as -1.
BUG=None
BRANCH=None
TEST=Flash zoombini; Verify that when charge manager tries to read the
Vbus voltage, the EC doesn't panic due to a non-existing channel.
Change-Id: I53dd3259afc7ae76f587e5b7925ce2f9daa06402
Signed-off-by: Aseda Aboagye <aaboagye@google.com>
Reviewed-on: https://chromium-review.googlesource.com/670123
Commit-Ready: Aseda Aboagye <aaboagye@chromium.org>
Tested-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'board')
-rw-r--r-- | board/zoombini/board.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/board/zoombini/board.h b/board/zoombini/board.h index ae746d8a6e..fef123e253 100644 --- a/board/zoombini/board.h +++ b/board/zoombini/board.h @@ -131,7 +131,7 @@ /* ADC signal */ enum adc_channel { - ADC_VBUS = 0, + ADC_VBUS = -1, ADC_TEMP_SENSOR_SOC, ADC_TEMP_SENSOR_CHARGER, ADC_CH_COUNT |