diff options
author | Rob Barnes <robbarnes@google.com> | 2021-08-06 14:15:56 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-08-25 16:48:00 +0000 |
commit | 65e82a3f49ab5077021e8dd16e1816d71f3d96cc (patch) | |
tree | e94a62595672e81f0087bdd26470f7ec269f13bf /baseboard/guybrush | |
parent | a21cecdf596ea520de514ca632303c0d0188b179 (diff) | |
download | chrome-ec-65e82a3f49ab5077021e8dd16e1816d71f3d96cc.tar.gz |
tmp112: Support reading TMP112 in millikelvin
TMP112 supports .0625 degrees of resolution. Retain this resolution and
support reading the temp in degrees millikelvin.
BUG=b:176994331
TEST=Build and run on guybrush
BRANCH=None
Change-Id: I2802016b1edb08678953238e7f01acdd320c37cf
Signed-off-by: Rob Barnes <robbarnes@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3001391
Commit-Queue: Diana Z <dzigterman@chromium.org>
Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'baseboard/guybrush')
-rw-r--r-- | baseboard/guybrush/baseboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/baseboard/guybrush/baseboard.c b/baseboard/guybrush/baseboard.c index 675350a022..5768326c44 100644 --- a/baseboard/guybrush/baseboard.c +++ b/baseboard/guybrush/baseboard.c @@ -227,7 +227,7 @@ const struct temp_sensor_t temp_sensors[] = { [TEMP_SENSOR_AMBIENT] = { .name = "Ambient", .type = TEMP_SENSOR_TYPE_BOARD, - .read = tmp112_get_val, + .read = tmp112_get_val_k, .idx = TMP112_AMB, }, }; |