Merge branch 'WIP' of github.com:collin80/SavvyCAN into WIP2

This commit is contained in:
Collin Kidder
2016-05-31 19:56:04 -04:00
2 changed files with 8 additions and 14 deletions
-12
View File
@@ -495,18 +495,6 @@ void SerialWorker::handleTick()
}
}
int elapsed = elapsedTime->elapsed();
if(elapsed) {
framesPerSec += gotFrames * 1000 / elapsed - (framesPerSec / 4);
elapsedTime->restart();
}
else
framesPerSec = 0;
emit frameUpdateTick(framesPerSec / 4, gotFrames); //sends stats to interested parties
canModel->sendBulkRefresh(gotFrames);
gotFrames = 0;
if (doValidation && serial && serial->isOpen()) sendCommValidation();
}