Minor fixes - #2018-002

This commit is contained in:
avujic 2018-01-05 21:42:16 +01:00
parent 1d8d7a946b
commit c786ce8239
5 changed files with 5 additions and 8 deletions

View file

@ -41,7 +41,6 @@
#include "version.h"
#include "workers/Workers.h"
#ifdef HAVE_SYSLOG_H
# include "log/SysLog.h"
#endif

View file

@ -36,7 +36,6 @@ class Httpd;
class Network;
class Options;
class App : public IConsoleListener
{
public:

View file

@ -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);
}
/*---------------------------------------------------------------------

View file

@ -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;

View file

@ -1,4 +1,4 @@
/* XMRig
/* xmr_arch64
* Copyright 2010 Jeff Garzik <jgarzik@pobox.com>
* Copyright 2012-2014 pooler <pooler@litecoinpool.org>
* Copyright 2014 Lucas Jones <https://github.com/lucasjones>