Skip to content

Commit 4ecf7a2

Browse files
kiram9JohnAZoidberg
authored andcommitted
common: f75397 fix get_temp to return K
Fix incorrect mk output introduced in 96476e8634ee84aa3cfa8696ab24e7ca84846bc2 Signed-off-by: Kieran Levin <ktl@frame.work>
1 parent 9c6b5e7 commit 4ecf7a2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

driver/temp_sensor/f75397.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ int f75397_get_val(int idx, int *temp)
9090
if (!f75397_enabled)
9191
return EC_ERROR_NOT_POWERED;
9292

93-
*temp = temps[idx];
93+
*temp = MILLI_KELVIN_TO_KELVIN(temps[idx]);
9494
return EC_SUCCESS;
9595
}
9696

0 commit comments

Comments
 (0)