Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma
KSysGuard
Commits
4769707c
Commit
4769707c
authored
Oct 12, 2020
by
David Redondo
🏎
Browse files
Also ifdef the amd method depending on if we have the sensors lib
Should fix the CI
parent
770923d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/global/cpu/linuxcpuplugin.cpp
View file @
4769707c
...
...
@@ -169,6 +169,7 @@ void LinuxCpuPluginPrivate::addSensorsIntel(const sensors_chip_name * const chip
void
LinuxCpuPluginPrivate
::
addSensorsAmd
(
const
sensors_chip_name
*
const
chipName
)
{
#ifdef HAVE_SENSORS
// All Processors should have the Tctl pseudo temperature as temp1. Newer ones have the real die
// temperature Tdie as temp2. Some of those have temperatures for each core complex die (CCD) as
// temp3-6 or temp3-10 depending on the number of CCDS.
...
...
@@ -208,5 +209,5 @@ void LinuxCpuPluginPrivate::addSensorsAmd(const sensors_chip_name * const chipNa
}
else
if
(
tctl
)
{
setSingleSensor
(
tctl
);
}
#endif
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment