diff options
author | Vic Yang <victoryang@chromium.org> | 2012-02-15 15:38:06 -0800 |
---|---|---|
committer | Vic Yang <victoryang@chromium.org> | 2012-02-18 13:37:53 +0800 |
commit | 0fefd25c0c7d6517f47aac2da974495f72312014 (patch) | |
tree | d67e0071040aa53f3b3922f2ca39cce6ed4e4617 /board/link/ec.tasklist | |
parent | 737fbbd032ef937b37f2e5e833fa52455aa19c64 (diff) | |
download | chrome-ec-0fefd25c0c7d6517f47aac2da974495f72312014.tar.gz |
Temperature polling and temporal correction
A temperature polling task is added to achieve temporal correction and
also reduce the latency of reading temperature.
Factor out sensor specific part to keep code clean.
Signed-off-by: Vic Yang <victoryang@chromium.org>
BUG=chrome-os-partner:7801
TEST=On link, 'temps' shows all temperature readings.
Cover each sensor with hand and see object temperature rise.
Compilation succeeded on bds/adv/daisy/discovery.
Change-Id: I3c44c8b2e3ab2aa9ce640d3fc25e7fba56534b86
Diffstat (limited to 'board/link/ec.tasklist')
-rw-r--r-- | board/link/ec.tasklist | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/link/ec.tasklist b/board/link/ec.tasklist index a56e6769e1..a17d39199f 100644 --- a/board/link/ec.tasklist +++ b/board/link/ec.tasklist @@ -15,6 +15,7 @@ */ #define CONFIG_TASK_LIST \ TASK(WATCHDOG, watchdog_task, NULL) \ + TASK(TEMPSENSOR, temp_sensor_task, NULL) \ TASK(KEYSCAN, keyboard_scan_task, NULL) \ TASK(POWERBTN, power_button_task, NULL) \ TASK(X86POWER, x86_power_task, NULL) \ |