diff options
author | Caveh Jalali <caveh@chromium.org> | 2018-08-08 17:21:00 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-08-10 01:44:27 -0700 |
commit | 003c9d50b7ff38041dbd3582f386bc886a68dba5 (patch) | |
tree | d46806003d9530335afe21dd879b4b39319a3035 | |
parent | b3f08549e2b42a3ac4d9070c559fb91e0b94ef4f (diff) | |
download | chrome-ec-003c9d50b7ff38041dbd3582f386bc886a68dba5.tar.gz |
atlas: Update temp sensor names
This updates the temp sensor names to reflect the sensor locations on
the board.
BUG=b:75070158
BRANCH=none
TEST="temps" command on EC console prints new labels
Change-Id: Ia4c0a88be68bf264147f65595e4a5d5275bb1d20
Signed-off-by: Caveh Jalali <caveh@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1170313
Commit-Ready: Caveh Jalali <caveh@google.com>
Tested-by: Caveh Jalali <caveh@google.com>
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
-rw-r--r-- | board/atlas/board.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/board/atlas/board.c b/board/atlas/board.c index 5725e1f14e..3724a04523 100644 --- a/board/atlas/board.c +++ b/board/atlas/board.c @@ -243,13 +243,13 @@ uint16_t tcpc_get_alert_status(void) const struct temp_sensor_t temp_sensors[] = { {"Battery", TEMP_SENSOR_TYPE_BATTERY, charge_get_battery_temp, 0, 4}, /* BD99992GW temp sensors are only readable in S0 */ - {"systherm0", TEMP_SENSOR_TYPE_BOARD, bd99992gw_get_val, + {"Ambient", TEMP_SENSOR_TYPE_BOARD, bd99992gw_get_val, BD99992GW_ADC_CHANNEL_SYSTHERM0, 4}, - {"systherm1", TEMP_SENSOR_TYPE_BOARD, bd99992gw_get_val, + {"Charger", TEMP_SENSOR_TYPE_BOARD, bd99992gw_get_val, BD99992GW_ADC_CHANNEL_SYSTHERM1, 4}, - {"systherm2", TEMP_SENSOR_TYPE_BOARD, bd99992gw_get_val, + {"DRAM", TEMP_SENSOR_TYPE_BOARD, bd99992gw_get_val, BD99992GW_ADC_CHANNEL_SYSTHERM2, 4}, - {"systherm3", TEMP_SENSOR_TYPE_BOARD, bd99992gw_get_val, + {"eMMC", TEMP_SENSOR_TYPE_BOARD, bd99992gw_get_val, BD99992GW_ADC_CHANNEL_SYSTHERM3, 4}, {"gyro", TEMP_SENSOR_TYPE_BOARD, bmi160_get_sensor_temp, BASE_GYRO, 1}, }; |