Skip to content

Commit b65a0e2

Browse files
committed
GPU (Linux): fix copy & paste error
1 parent 6e15a44 commit b65a0e2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/detection/gpu/gpu_linux.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ static void pciDetectAmdSpecific(const FFGPUOptions* options, FFGPUResult* gpu,
6969
ffStrbufSubstrBefore(pciDir, hwmonLen);
7070
ffStrbufAppendS(pciDir, "temp1_input"); // The on die GPU temperature in millidegrees Celsius
7171
if (ffReadFileBuffer(pciDir->chars, buffer) && (value = ffStrbufToUInt(buffer, 0)))
72-
gpu->frequency = (double) value / 1000;
72+
gpu->temperature = (double) value / 1000;
7373
}
7474

7575
ffStrbufSubstrBefore(pciDir, hwmonLen);

0 commit comments

Comments
 (0)