Release Candidate

This commit is contained in:
fireice-uk
2017-02-16 16:11:25 +00:00
parent 321fa66ddd
commit 81648af42b
2 changed files with 22 additions and 3 deletions
+4
View File
@@ -105,6 +105,10 @@ double telemetry::calc_telemetry_data(size_t iLastMilisec, size_t iThread)
if (!bHaveFullSet || iEarliestStamp == 0 || iLastestStamp == 0)
return nan("");
//Don't think that can happen, but just in case
if (iLastestStamp - iEarliestStamp == 0)
return nan("");
double fHashes, fTime;
fHashes = iLastestHashCnt - iEarliestHashCnt;
fTime = iLastestStamp - iEarliestStamp;