Fix to allow custom frame sender window to send frames with ID = 0

This commit is contained in:
Collin Kidder
2018-06-04 19:34:47 -04:00
parent eb6f7d87b8
commit 025b8ef6da
+1 -1
View File
@@ -838,7 +838,7 @@ void FrameSenderWindow::processCellChange(int line, int col)
break;
case 2: //ID field
tempVal = Utility::ParseStringToNum(ui->tableSender->item(line, 2)->text());
if (tempVal < 1) tempVal = 1;
if (tempVal < 0) tempVal = 0;
if (tempVal > 0x7FFFFFFF) tempVal = 0x7FFFFFFF;
sendingData[line].ID = tempVal;
if (sendingData[line].ID > 0x7FF) {