diff options
Diffstat (limited to '')
-rw-r--r-- | data.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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; |