Merge branch 'master' of github.com:collin80/SavvyCAN

This commit is contained in:
Collin Kidder
2017-08-13 18:01:39 -04:00
6 changed files with 193 additions and 648 deletions
+1 -1
View File
@@ -41,7 +41,7 @@ dc SnifferItem::dataChange(uchar i) const
((uchar*) &mLastMarker.data)[i] &&
!((uchar*) &mNotch)[i] )
{
return ((uchar*) &mCurrent.data)[i] >= ((uchar*) &mLast.data)[i] ? dc::INC : dc::DEC;
return ((uchar*) &mCurrent.data)[i] >= ((uchar*) &mLast.data)[i] ? dc::INC : dc::DEINC;
}
return dc::NO;
+1 -1
View File
@@ -15,7 +15,7 @@ enum dc
{
NO,
INC,
DEC
DEINC
};
+1 -1
View File
@@ -75,7 +75,7 @@ QVariant SnifferModel::data(const QModelIndex &index, int role) const
{
case dc::INC:
return QBrush(Qt::green);
case dc::DEC:
case dc::DEINC:
return QBrush(Qt::red);
default:
break;