diff options
Diffstat (limited to 'include/peci.h')
-rw-r--r-- | include/peci.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/include/peci.h b/include/peci.h index 4776002a42..c3bb4d62b2 100644 --- a/include/peci.h +++ b/include/peci.h @@ -10,10 +10,14 @@ #include "common.h" -/* Return the current CPU temperature in degrees K, or -1 if error. +/** + * Get the current CPU temperature. * * Note that the PECI interface is currently a little flaky; if you get an - * error, retry a bit later. */ + * error, retry a bit later. + * + * @return the CPU temperature in degrees K, or -1 if error. + */ int peci_get_cpu_temp(void); /** @@ -26,7 +30,4 @@ int peci_get_cpu_temp(void); */ int peci_temp_sensor_get_val(int idx, int *temp_ptr); -/* Temperature polling of CPU temperature sensor via PECI. */ -int peci_temp_sensor_poll(void); - #endif /* __CROS_EC_PECI_H */ |