diff --git a/src/mining.cpp b/src/mining.cpp index 63c1004..d6f5694 100644 --- a/src/mining.cpp +++ b/src/mining.cpp @@ -29,13 +29,11 @@ uint32_t valids; // increased if blockhash <= target double best_diff = 0.0; // Variables to hold data from custom textboxes +//Track mining stats in non volatile memory extern TSettings Settings; IPAddress serverIP(1, 1, 1, 1); //Temporally save poolIPaddres -//Track mining stats in non volatile memory -extern TSettings Settings; - //Global work data static WiFiClient client; static miner_data mMiner; //Global miner data (Create a miner class TODO) diff --git a/src/monitor.cpp b/src/monitor.cpp index 4b33a00..04c6eb8 100644 --- a/src/monitor.cpp +++ b/src/monitor.cpp @@ -23,7 +23,8 @@ extern double best_diff; // track best diff extern monitor_data mMonitor; -extern TSettings Settings; //Gotten from saved config +//from saved config +extern TSettings Settings; WiFiUDP ntpUDP; NTPClient timeClient(ntpUDP, "europe.pool.ntp.org", 3600, 60000);