diff options
author | Michał Barnaś <mb@semihalf.com> | 2021-08-20 18:53:42 +0200 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2021-09-03 21:31:14 +0000 |
commit | 680a910883c0657fb38d7f386d604a94c06ba319 (patch) | |
tree | 335a505d9f13ff7f043abdf5c37b99f80c913b2c /common | |
parent | b67bda916d68b3f0748bb6d174151192a0d4395e (diff) | |
download | chrome-ec-680a910883c0657fb38d7f386d604a94c06ba319.tar.gz |
charge: remove misleading comment
There was a comment that described the temperature value as if it was
in 0.1 steps of C degrees, where it was in pure C degrees.
It was converted from steps of 0.1 K to 1 oC.
BRANCH=main
BUG=none
TEST=No need to
Change-Id: I0545588bc29465f2346a30182b89063f5e24fea5
Signed-off-by: Michał Barnaś <mb@semihalf.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3111365
Reviewed-by: Keith Short <keithshort@chromium.org>
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Commit-Queue: Keith Short <keithshort@chromium.org>
Tested-by: Keith Short <keithshort@chromium.org>
Diffstat (limited to 'common')
-rw-r--r-- | common/charge_state_v2.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/common/charge_state_v2.c b/common/charge_state_v2.c index 77c5e18125..110d63c7bf 100644 --- a/common/charge_state_v2.c +++ b/common/charge_state_v2.c @@ -1692,7 +1692,6 @@ const struct batt_params *charger_current_battery_params(void) static int battery_outside_charging_temperature(void) { const struct battery_info *batt_info = battery_get_info(); - /* battery temp in 0.1 deg C */ int batt_temp_c = DECI_KELVIN_TO_CELSIUS(curr.batt.temperature); int max_c, min_c; |