mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-28 07:44:06 +01:00
Common (macOS): adds M5x temp detection support
This commit is contained in:
@@ -28,6 +28,9 @@ static double detectGpuTemp(const FFstrbuf* gpuName) {
|
||||
case 4:
|
||||
error = ffDetectSmcTemps(FF_TEMP_GPU_M4X, &result);
|
||||
break;
|
||||
case 5:
|
||||
error = ffDetectSmcTemps(FF_TEMP_GPU_M5X, &result);
|
||||
break;
|
||||
default:
|
||||
error = "Unsupported Apple Silicon GPU";
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user