diff options
author | Randall Spangler <rspangler@chromium.org> | 2012-10-26 16:33:30 -0700 |
---|---|---|
committer | Gerrit <chrome-bot@google.com> | 2012-11-01 12:45:22 -0700 |
commit | d83f42bdc8b61773efc17e0194e5abe26109128d (patch) | |
tree | e8351b0f756dff9aac9d6b919037c1f3b283c644 /test | |
parent | 742ec5a1ff3a058bf6f1753bafde9e3e57d44f58 (diff) | |
download | chrome-ec-d83f42bdc8b61773efc17e0194e5abe26109128d.tar.gz |
Switch temp sensor polling to use hooks instead of task
This reduces memory / code size, and gets rid of ifdefs in temp_sensor.c.
BUG=chrome-os-partner:15714
BRANCH=none
TEST=boot system and run 'ectool temps all' every few seconds
- ectool temps all
The numbers should update over time.
Change-Id: Idaac7e6e4cbc1d6689f5d3b607c623a5cc536a4f
Signed-off-by: Randall Spangler <rspangler@chromium.org>
Reviewed-on: https://gerrit.chromium.org/gerrit/36940
Diffstat (limited to 'test')
-rw-r--r-- | test/thermal.tasklist | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/thermal.tasklist b/test/thermal.tasklist index fa92984118..ad112f814a 100644 --- a/test/thermal.tasklist +++ b/test/thermal.tasklist @@ -17,7 +17,6 @@ #define CONFIG_TASK_LIST \ TASK(TICK, hook_task, NULL, TASK_STACK_SIZE) \ TASK(VBOOTHASH, vboot_hash_task, NULL, TASK_STACK_SIZE) \ - TASK(TEMPSENSOR, temp_sensor_task, NULL, TASK_STACK_SIZE) \ TASK(THERMAL, thermal_task, NULL, TASK_STACK_SIZE) \ TASK(X86POWER, x86_power_task, NULL, TASK_STACK_SIZE) \ TASK(HOSTCMD, host_command_task, NULL, TASK_STACK_SIZE) \ |