Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fix for amd thermal #445

Merged
merged 2 commits into from
Oct 30, 2022
Merged

Add fix for amd thermal #445

merged 2 commits into from
Oct 30, 2022

Conversation

JakeRoggenbuck
Copy link
Owner

fixes #250

src/cpu.rs Outdated
if !Path::new(&cpu_info_path).exists() {
return Ok(-1);
let test_path = format!("/sys/class/thermal/thermal_zone0/{}", sub_path);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm idk if test path is the best name, i mean it's supposed to be the temp for the first core

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point, I'll fix

@JakeRoggenbuck JakeRoggenbuck merged commit e6e9de3 into main Oct 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Temperatures on some cores do not update
2 participants