Temp (Apple): support memory temperature detection for future use

This commit is contained in:
李通洲 committed 2023-02-14 17:29:21 +08:00
1 parent e29169711c
commit b634c70f80
2 files changed
+6

No files matched your search

+4
View File
@@ -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;
+2
View File
@@ -26,6 +26,8 @@ enum FFTempType
FF_TEMP_GPU_M2X,
FF_TEMP_BATTERY,
FF_TEMP_MEMORY,
};
const char *ffDetectCoreTemps(enum FFTempType type, FFlist *result);