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

Conflicts:
	SavvyCAN.pro
	config.h
This commit is contained in:
Collin Kidder
2016-05-31 19:38:05 -04:00
17 changed files with 1044 additions and 999 deletions
+12
View File
@@ -495,6 +495,18 @@ 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();
}