mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 10:52:08 +02:00
Temp (Apple): support memory temperature detection for future use
This commit is contained in:
@@ -397,6 +397,10 @@ const char *ffDetectCoreTemps(enum FFTempType type, FFlist *result)
|
||||
case FF_TEMP_BATTERY:
|
||||
detectTemp(conn, "TB1T", "Battery", result);
|
||||
break;
|
||||
|
||||
case FF_TEMP_MEMORY:
|
||||
detectTemp(conn, "Tm02", "Memory", result);
|
||||
break;
|
||||
}
|
||||
|
||||
return NULL;
|
||||
|
||||
@@ -26,6 +26,8 @@ enum FFTempType
|
||||
FF_TEMP_GPU_M2X,
|
||||
|
||||
FF_TEMP_BATTERY,
|
||||
|
||||
FF_TEMP_MEMORY,
|
||||
};
|
||||
|
||||
const char *ffDetectCoreTemps(enum FFTempType type, FFlist *result);
|
||||
|
||||
Reference in New Issue
Block a user