-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix thermal_zone temperature calculations
Fix a bug in how high and critical temperatures are calculated when using thermal zones. Clear high and critical values each iteration so they are not divided by 1000 on subsequent iterations. Take the max value if multiple temperature trips target either high or critical. Signed-off-by: Siena Richard <sienarichard@samotics.com>
- Loading branch information
Showing
2 changed files
with
12 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters