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

This commit is contained in:
李通洲
2023-02-14 17:29:21 +08:00
parent e29169711c
commit b634c70f80
2 changed files with 6 additions and 0 deletions
+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);