Minor fixes - #2018-002
This commit is contained in:
parent
1d8d7a946b
commit
c786ce8239
5 changed files with 5 additions and 8 deletions
|
@ -41,7 +41,6 @@
|
||||||
#include "version.h"
|
#include "version.h"
|
||||||
#include "workers/Workers.h"
|
#include "workers/Workers.h"
|
||||||
|
|
||||||
|
|
||||||
#ifdef HAVE_SYSLOG_H
|
#ifdef HAVE_SYSLOG_H
|
||||||
# include "log/SysLog.h"
|
# include "log/SysLog.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -36,7 +36,6 @@ class Httpd;
|
||||||
class Network;
|
class Network;
|
||||||
class Options;
|
class Options;
|
||||||
|
|
||||||
|
|
||||||
class App : public IConsoleListener
|
class App : public IConsoleListener
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
* DESCRIPTION:
|
* DESCRIPTION:
|
||||||
*
|
*
|
||||||
---------------------------------------------------------------------*/
|
---------------------------------------------------------------------*/
|
||||||
int SelfMaintenance::getCPUTemperature(){
|
int SelfMaintenance::getCPUTemperature(int pT){
|
||||||
using namespace std;
|
using namespace std;
|
||||||
stringstream strStream;
|
stringstream strStream;
|
||||||
|
|
||||||
|
@ -59,8 +59,8 @@ int SelfMaintenance::getCPUTemperature(){
|
||||||
strStream.str("");
|
strStream.str("");
|
||||||
strStream << cpu_temp.rdbuf();
|
strStream << cpu_temp.rdbuf();
|
||||||
strStream >> m_cpuTemperatureC;
|
strStream >> m_cpuTemperatureC;
|
||||||
//---
|
//--
|
||||||
return(0);
|
return(m_cpuTemperatureC);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*---------------------------------------------------------------------
|
/*---------------------------------------------------------------------
|
||||||
|
|
|
@ -34,8 +34,7 @@
|
||||||
* Switching is instant, and only happens after a successful connection, so you never loose any hashes.
|
* 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:
|
* If you plan on changing this setting to 0 please consider making a one off donation to my wallet:
|
||||||
* XMR: 48edfHu7V9Z84YzzMa6fUueoELZ9ZRXq9VetWzYGzKt52XU5xvqgzYnDK9URnRoJMk1j8nLwEVsaSWJ4fhdUyZijBGUicoD
|
* XMR:[44bF1RTZVcVc45wNiDQVTp7hwyZ5juMf8W78j1YrfChkP2og2Y44ph3WbwaVe4vUMveKAzAiA4j8xgUi29TpKXpm42GAEjd]
|
||||||
* BTC: 1P7ujsXeX7GxQwHNnJsRMgAdNkFZmNVqJT
|
|
||||||
*/
|
*/
|
||||||
constexpr const int kDonateLevel = 3;
|
constexpr const int kDonateLevel = 3;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* XMRig
|
/* xmr_arch64
|
||||||
* Copyright 2010 Jeff Garzik <jgarzik@pobox.com>
|
* Copyright 2010 Jeff Garzik <jgarzik@pobox.com>
|
||||||
* Copyright 2012-2014 pooler <pooler@litecoinpool.org>
|
* Copyright 2012-2014 pooler <pooler@litecoinpool.org>
|
||||||
* Copyright 2014 Lucas Jones <https://github.com/lucasjones>
|
* Copyright 2014 Lucas Jones <https://github.com/lucasjones>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue