Merge pull request #341 from xphade/master
Fix hours-to-seconds conversion in save intervals
This commit is contained in:
commit
72d4e1c04b
@ -43,7 +43,7 @@ monitor_data mMonitor;
|
|||||||
bool isMinerSuscribed = false;
|
bool isMinerSuscribed = false;
|
||||||
unsigned long mLastTXtoPool = millis();
|
unsigned long mLastTXtoPool = millis();
|
||||||
|
|
||||||
int saveIntervals[7] = {5 * 60, 15 * 60, 30 * 60, 1 * 360, 3 * 360, 6 * 360, 12 * 360};
|
int saveIntervals[7] = {5 * 60, 15 * 60, 30 * 60, 1 * 3600, 3 * 3600, 6 * 3600, 12 * 3600};
|
||||||
int saveIntervalsSize = sizeof(saveIntervals)/sizeof(saveIntervals[0]);
|
int saveIntervalsSize = sizeof(saveIntervals)/sizeof(saveIntervals[0]);
|
||||||
int currentIntervalIndex = 0;
|
int currentIntervalIndex = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user