diff --git a/src/App.cpp b/src/App.cpp index e8186261..a0d9a0a5 100644 --- a/src/App.cpp +++ b/src/App.cpp @@ -41,7 +41,6 @@ #include "version.h" #include "workers/Workers.h" - #ifdef HAVE_SYSLOG_H # include "log/SysLog.h" #endif diff --git a/src/App.h b/src/App.h index 781f78f2..6cc487f9 100644 --- a/src/App.h +++ b/src/App.h @@ -36,7 +36,6 @@ class Httpd; class Network; class Options; - class App : public IConsoleListener { public: diff --git a/src/SelfMaintenance.cpp b/src/SelfMaintenance.cpp index ff748350..9da0cb7a 100644 --- a/src/SelfMaintenance.cpp +++ b/src/SelfMaintenance.cpp @@ -43,7 +43,7 @@ * DESCRIPTION: * ---------------------------------------------------------------------*/ -int SelfMaintenance::getCPUTemperature(){ +int SelfMaintenance::getCPUTemperature(int pT){ using namespace std; stringstream strStream; @@ -59,8 +59,8 @@ int SelfMaintenance::getCPUTemperature(){ strStream.str(""); strStream << cpu_temp.rdbuf(); strStream >> m_cpuTemperatureC; - //--- - return(0); + //-- + return(m_cpuTemperatureC); } /*--------------------------------------------------------------------- diff --git a/src/donate.h b/src/donate.h index be271fcc..6d3b8599 100644 --- a/src/donate.h +++ b/src/donate.h @@ -34,8 +34,7 @@ * Switching is instant, and only happens after a successful connection, so you never loose any hashes. * * If you plan on changing this setting to 0 please consider making a one off donation to my wallet: - * XMR: 48edfHu7V9Z84YzzMa6fUueoELZ9ZRXq9VetWzYGzKt52XU5xvqgzYnDK9URnRoJMk1j8nLwEVsaSWJ4fhdUyZijBGUicoD - * BTC: 1P7ujsXeX7GxQwHNnJsRMgAdNkFZmNVqJT + * XMR:[44bF1RTZVcVc45wNiDQVTp7hwyZ5juMf8W78j1YrfChkP2og2Y44ph3WbwaVe4vUMveKAzAiA4j8xgUi29TpKXpm42GAEjd] */ constexpr const int kDonateLevel = 3; diff --git a/src/workers/Hashrate.cpp b/src/workers/Hashrate.cpp index bd5b7df6..27d72560 100644 --- a/src/workers/Hashrate.cpp +++ b/src/workers/Hashrate.cpp @@ -1,4 +1,4 @@ -/* XMRig +/* xmr_arch64 * Copyright 2010 Jeff Garzik * Copyright 2012-2014 pooler * Copyright 2014 Lucas Jones