summaryrefslogtreecommitdiff
path: root/common/thermal.c
diff options
context:
space:
mode:
authorTom Hughes <tomhughes@chromium.org>2021-10-14 20:57:27 +0000
committerCommit Bot <commit-bot@chromium.org>2021-10-15 23:40:38 +0000
commit09e3123257d708a59e3ae110f628ecbae74b49db (patch)
tree71d96fd934d4b3290e62222d69e7f079e6c5b8d7 /common/thermal.c
parent0888fe2d3e01b379ca8024d09f24fd89b3d49acf (diff)
downloadchrome-ec-09e3123257d708a59e3ae110f628ecbae74b49db.tar.gz
tree: Make all console commands static
Almost all of the console commands were already static. This change makes all of them static for consistency. BRANCH=none BUG=b:172020503 TEST=make buildall -j Signed-off-by: Tom Hughes <tomhughes@chromium.org> Change-Id: I0ac46358b6fbafa65504c648ce4de0365cdbf723 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3224372 Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Diffstat (limited to 'common/thermal.c')
-rw-r--r--common/thermal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/thermal.c b/common/thermal.c
index e9750931be..50047c96bb 100644
--- a/common/thermal.c
+++ b/common/thermal.c
@@ -178,7 +178,7 @@ static void thermal_control(void)
/* Print temperature sensor values before shutting down AP */
if (IS_ENABLED(CONFIG_CMD_TEMP_SENSOR)) {
- console_command_temps(1, NULL);
+ print_temps();
cflush();
}