fix
This commit is contained in:
parent
40cb44509b
commit
971613ebce
@ -29,13 +29,11 @@ uint32_t valids; // increased if blockhash <= target
|
|||||||
double best_diff = 0.0;
|
double best_diff = 0.0;
|
||||||
|
|
||||||
// Variables to hold data from custom textboxes
|
// Variables to hold data from custom textboxes
|
||||||
|
//Track mining stats in non volatile memory
|
||||||
extern TSettings Settings;
|
extern TSettings Settings;
|
||||||
|
|
||||||
IPAddress serverIP(1, 1, 1, 1); //Temporally save poolIPaddres
|
IPAddress serverIP(1, 1, 1, 1); //Temporally save poolIPaddres
|
||||||
|
|
||||||
//Track mining stats in non volatile memory
|
|
||||||
extern TSettings Settings;
|
|
||||||
|
|
||||||
//Global work data
|
//Global work data
|
||||||
static WiFiClient client;
|
static WiFiClient client;
|
||||||
static miner_data mMiner; //Global miner data (Create a miner class TODO)
|
static miner_data mMiner; //Global miner data (Create a miner class TODO)
|
||||||
|
@ -23,7 +23,8 @@ extern double best_diff; // track best diff
|
|||||||
|
|
||||||
extern monitor_data mMonitor;
|
extern monitor_data mMonitor;
|
||||||
|
|
||||||
extern TSettings Settings; //Gotten from saved config
|
//from saved config
|
||||||
|
extern TSettings Settings;
|
||||||
|
|
||||||
WiFiUDP ntpUDP;
|
WiFiUDP ntpUDP;
|
||||||
NTPClient timeClient(ntpUDP, "europe.pool.ntp.org", 3600, 60000);
|
NTPClient timeClient(ntpUDP, "europe.pool.ntp.org", 3600, 60000);
|
||||||
|
Loading…
Reference in New Issue
Block a user