diff --git a/data.cpp b/data.cpp index 0e46b3bd..0d05c3d5 100644 --- a/data.cpp +++ b/data.cpp @@ -903,7 +903,9 @@ int DataManager::GetMagicValue(const string varName, string& value) convert_temp = strtoul(results.c_str(), NULL, 0) / 1000; if (convert_temp <= 0) convert_temp = strtoul(results.c_str(), NULL, 0); - cpuSecCheck = curTime.tv_sec + 5; + if (convert_temp >= 150) + convert_temp = strtoul(results.c_str(), NULL, 0) / 10; + cpuSecCheck = curTime.tv_sec + 5; } value = TWFunc::to_string(convert_temp); return 0;