From 76924fd1ceaa45811dd8dce6ed1063e90011a246 Mon Sep 17 00:00:00 2001 From: Pavel Kurenev Date: Fri, 29 Sep 2023 03:13:56 +0300 Subject: [PATCH] Add 3000000 baudrate mode for Lawicel device --- connections/newconnectiondialog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/connections/newconnectiondialog.cpp b/connections/newconnectiondialog.cpp index 95338481..d3fa1527 100644 --- a/connections/newconnectiondialog.cpp +++ b/connections/newconnectiondialog.cpp @@ -114,6 +114,7 @@ void NewConnectionDialog::selectLawicel() ui->cbSerialSpeed->addItem("500000"); ui->cbSerialSpeed->addItem("1000000"); ui->cbSerialSpeed->addItem("2000000"); + ui->cbSerialSpeed->addItem("3000000"); } } @@ -309,7 +310,7 @@ QString NewConnectionDialog::getPortName() return ui->cbPort->currentText(); case CANCon::CANSERVER: return ui->cbPort->currentText(); - + default: qDebug() << "getPortName: can't get port"; }