From e317a16a31edbc16094e01648ea3f1ab83e4c38e Mon Sep 17 00:00:00 2001 From: L_DelOff Date: Sun, 3 Mar 2024 14:09:16 +0300 Subject: [PATCH] fix --- pwmfan.cpp | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/pwmfan.cpp b/pwmfan.cpp index 12f6825..3dc2411 100644 --- a/pwmfan.cpp +++ b/pwmfan.cpp @@ -132,19 +132,14 @@ int readTempHDD(const std::string& drive) { return std::stoi(output); } -int readTemp(){ +int readTemp() { int T_CPU = readTempCPU(); int max = T_CPU; - - std::cout << "T_CPU = " << T_CPU << std::endl; std::array T_HDD; for (int i = 0; i < HDD_NAMES.size(); ++i) { - T_HDD[i] = readTempHDD(HDD_NAMES[i]); - - std::cout << "T_HDD[i] = " << T_HDD[i] << std::endl; - + T_HDD[i] = readTempHDD(HDD_NAMES[i]); if (T_HDD[i] > max) { max = T_HDD[i]; }