Skip to content

Commit

Permalink
Changed serial device names so that you can differentiate between, fo…
Browse files Browse the repository at this point in the history
…r example, /dev/ttyACM* and /dev/ttyUSB*
  • Loading branch information
CRImier committed Jun 14, 2015
1 parent 4197b4e commit 1fb3be4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/serialsettingswidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ int SerialSettingsWidget::setupModbusPort()
int i = 0;
foreach( QextPortInfo port, QextSerialEnumerator::getPorts() )
{
ui->serialPort->addItem( port.friendName );
ui->serialPort->addItem( port.physName );
if( port.friendName == s.value( "serialinterface" ) )
{
portIndex = i;
Expand Down

0 comments on commit 1fb3be4

Please sign in to comment.