Merge pull request #5 from xbclub/main

修复探针温度类型识别错误
This commit is contained in:
dushixiang authored and GitHub committed 2025-12-09 16:00:55 +08:00
commit e30586f84c
1 file changed
+1 -2
+1 -2
View File
@@ -82,8 +82,7 @@ func guessSensorType(key string) string {
strings.Contains(keyLower, "package id") || // Intel 封装温度
strings.Contains(keyLower, "core ") || // CPU 核心温度
strings.Contains(keyLower, "scpi_sensors") || // ARM SCPI 温度传感器
strings.Contains(keyLower, "aml_thermal") || // Amlogic SoC 温度
strings.Contains(keyLower, "thermal") { // 通用热传感器(通常是 CPU/SoC)
strings.Contains(keyLower, "aml_thermal") { // Amlogic SoC 温度
return "CPU"
}