From a61d8db3d3d7cb145abb3a3580c9a9cfe2d044d7 Mon Sep 17 00:00:00 2001 From: Randall Spangler Date: Thu, 5 Apr 2012 15:34:01 -0700 Subject: Change task messages to events Signed-off-by: Randall Spangler BUG=chrome-os-partner:7461 TEST=manual make BOARD={bds,link,daisy} make tests flash link system and make sure it boots Change-Id: I1241a1895c083e387e38ddab01ac346ca4474eb9 --- common/thermal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/thermal.c') diff --git a/common/thermal.c b/common/thermal.c index f2e53c55b5..866f857d32 100644 --- a/common/thermal.c +++ b/common/thermal.c @@ -15,6 +15,7 @@ #include "task.h" #include "temp_sensor.h" #include "thermal.h" +#include "timer.h" #include "uart.h" #include "util.h" #include "x86_power.h" @@ -193,8 +194,7 @@ void thermal_task(void) { while (1) { thermal_process(); - /* Wait 1s */ - task_wait_msg(1000000); + usleep(1000000); } } -- cgit v1.2.1