From 025b8ef6da216b61539302546b2ed0052a4e6415 Mon Sep 17 00:00:00 2001 From: Collin Kidder Date: Mon, 4 Jun 2018 19:34:47 -0400 Subject: [PATCH] Fix to allow custom frame sender window to send frames with ID = 0 --- framesenderwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framesenderwindow.cpp b/framesenderwindow.cpp index d74cddb..5d69e01 100644 --- a/framesenderwindow.cpp +++ b/framesenderwindow.cpp @@ -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) {