From 791718ab2a0d08b6cc8fb79e26729360f683ffa4 Mon Sep 17 00:00:00 2001 From: lokilee73 Date: Wed, 26 Dec 2018 20:21:24 +0900 Subject: [PATCH] Fix build error Change-Id: I8de7b15bdc3b921e2bb8e09e60e7a128deb3d198 Signed-off-by: lokilee73 --- src/thermal/thermal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/thermal/thermal.c b/src/thermal/thermal.c index bda2810..6dd8b22 100755 --- a/src/thermal/thermal.c +++ b/src/thermal/thermal.c @@ -294,8 +294,8 @@ static void thermal_handler(struct thermal_info *info, void *data) return; } - update = is_thermal_updated(old_state, new_state); - _I("Last update(%d) old_state(%d) new_state(%d)", update, old_state, new_state); + updated = is_thermal_updated(old_state, new_state); + _I("Last updated(%d) old_state(%d) new_state(%d)", updated, old_state, new_state); if (updated) thermal_action(new_state); -- 2.7.4