Changed motor controller config window to target Rinehart Motion controllers instead of my custom controller.

Yes, I still need to move it into dynamic library and out of the main program.
This commit is contained in:
Collin Kidder
2017-08-11 13:52:40 -04:00
parent 5dd2456b98
commit 5b3eef1cf3
6 changed files with 168 additions and 646 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;