A bunch of little tweaks to remove compile-time warnings. Just convenience really.

This commit is contained in:
Collin Kidder
2015-08-13 21:00:34 -04:00
parent c4c0079675
commit 3ec7638e7b
14 changed files with 45 additions and 27 deletions
+1 -1
View File
@@ -108,7 +108,7 @@ bool FrameFileIO::loadCRTDFile(QString filename, QVector<CANFrame>* frames)
int multiplier;
int idxOfDecimal = tokens[0].indexOf('.');
if (idxOfDecimal > -1) {
int decimalPlaces = tokens[0].length() - tokens[0].indexOf('.') - 1;
//int decimalPlaces = tokens[0].length() - tokens[0].indexOf('.') - 1;
//the result of the above is the # of digits after the decimal.
//This program deals in microsecond so turn the value into microseconds
multiplier = 1000000; //turn the decimal into full microseconds