CANDataGrid had the bits reversed. Whoops... This has been fixed. Added a + in the center of the flow view graph to show that the current data is actually there in the center not at the right edge like you might assume. Incremented version number.

This commit is contained in:
Collin Kidder
2015-05-25 20:15:20 -04:00
parent 77b8b57937
commit cc276dfb4f
4 changed files with 78 additions and 7 deletions
+2 -2
View File
@@ -82,8 +82,8 @@ void CANDataGrid::paintEvent(QPaintEvent *event)
{
thisBit = false;
prevBit = false;
if ((thisByte & (1 << x)) == (1 << x)) thisBit = true;
if ((prevByte & (1 << x)) == (1 << x)) prevBit = true;
if ((thisByte & (1 << (7-x))) == (1 << (7-x))) thisBit = true;
if ((prevByte & (1 << (7-x))) == (1 << (7-x))) prevBit = true;
if (thisBit)
{