Fix to allow custom frame sender window to send frames with ID = 0
This commit is contained in:
@@ -838,7 +838,7 @@ void FrameSenderWindow::processCellChange(int line, int col)
|
|||||||
break;
|
break;
|
||||||
case 2: //ID field
|
case 2: //ID field
|
||||||
tempVal = Utility::ParseStringToNum(ui->tableSender->item(line, 2)->text());
|
tempVal = Utility::ParseStringToNum(ui->tableSender->item(line, 2)->text());
|
||||||
if (tempVal < 1) tempVal = 1;
|
if (tempVal < 0) tempVal = 0;
|
||||||
if (tempVal > 0x7FFFFFFF) tempVal = 0x7FFFFFFF;
|
if (tempVal > 0x7FFFFFFF) tempVal = 0x7FFFFFFF;
|
||||||
sendingData[line].ID = tempVal;
|
sendingData[line].ID = tempVal;
|
||||||
if (sendingData[line].ID > 0x7FF) {
|
if (sendingData[line].ID > 0x7FF) {
|
||||||
|
|||||||
Reference in New Issue
Block a user