Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
drmason789 committed Jan 3, 2024
1 parent f95f9db commit 90ada8b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/trixterxdreamv1serial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ QStringList trixterxdreamv1serial::availablePorts(bool debug) {
QStringList result;

#ifndef Q_OS_IOS

for(auto port : QSerialPortInfo::availablePorts()) {
auto ports = QSerialPortInfo::availablePorts();
for(const auto &port : ports) {

#if defined(Q_OS_LINUX)
if(!port.startsWith("ttyUSB"))
Expand Down

0 comments on commit 90ada8b

Please sign in to comment.