Skip to content

Commit

Permalink
UwTerminalX: Add Vela IF820 to the list of default devices
Browse files Browse the repository at this point in the history
PROD-296
  • Loading branch information
trowbridgec-laird committed Oct 30, 2023
1 parent 321ad2b commit 5a20e92
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions UwxMainWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -591,6 +591,16 @@ MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWi
gpPredefinedDevice->setValue(QString(strPrefix).append("Flow"), "0");
++nCurrentDevice;

//Vela IF820
strPrefix = QString("Port").append(QString::number(nCurrentDevice));
gpPredefinedDevice->setValue(QString(strPrefix).append("Name"), "Vela IF820");
gpPredefinedDevice->setValue(QString(strPrefix).append("Baud"), "115200");
gpPredefinedDevice->setValue(QString(strPrefix).append("Parity"), "0");
gpPredefinedDevice->setValue(QString(strPrefix).append("Stop"), "1");
gpPredefinedDevice->setValue(QString(strPrefix).append("Data"), "8");
gpPredefinedDevice->setValue(QString(strPrefix).append("Flow"), "0");
++nCurrentDevice;

//Mark as completed
gpPredefinedDevice->setValue(QString("DoneSetup"), "1");
}
Expand Down

0 comments on commit 5a20e92

Please sign in to comment.