diff options
author | Vic Yang <victoryang@chromium.org> | 2013-05-17 12:25:05 +0800 |
---|---|---|
committer | ChromeBot <chrome-bot@google.com> | 2013-05-17 09:52:26 -0700 |
commit | 26f0e5d1d20da1cd4ffb83c603273b2ac32a670f (patch) | |
tree | 7f65bc6ff94894bcf19bf21b1e2ef29cce6aa88c /common/temp_sensor.c | |
parent | ce9d7ca9e9408e22f2bbbe2c72e7df3d5cc1cd43 (diff) | |
download | chrome-ec-26f0e5d1d20da1cd4ffb83c603273b2ac32a670f.tar.gz |
Revert "Revert "Add thermal engine test""
This reverts commit 89e688a3325e91d3c59ac639f04f2c91019c9b10.
Time-scaling is added back. We can run this test now.
BUG=chrome-os-partner:19236
TEST=Pass the test.
BRANCH=None
Change-Id: Id3dcec6fc12489f5f0602de91c6560a8dfbef9af
Signed-off-by: Vic Yang <victoryang@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/51551
Reviewed-by: Vincent Palatin <vpalatin@chromium.org>
Diffstat (limited to 'common/temp_sensor.c')
-rw-r--r-- | common/temp_sensor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/temp_sensor.c b/common/temp_sensor.c index 3079e3b2a8..e33d787b9c 100644 --- a/common/temp_sensor.c +++ b/common/temp_sensor.c @@ -24,7 +24,7 @@ /* Default temperature to report in mapped memory */ #define MAPPED_TEMP_DEFAULT (296 - EC_TEMP_SENSOR_OFFSET) -int temp_sensor_read(enum temp_sensor_id id, int *temp_ptr) +test_mockable int temp_sensor_read(enum temp_sensor_id id, int *temp_ptr) { const struct temp_sensor_t *sensor; |