Tells user what to do when serial port doesn't work

creator-widgets
Elliott Liggett 2024-04-14 10:24:37 -07:00
rodzic da3cf1cfee
commit 7d06a5bafd
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -342,10 +342,10 @@ void commHandler::openPort()
qInfo(logSerial()) << "Opened port: " << portName;
return;
} else {
qInfo(logSerial()) << "Could not open serial port " << portName << " , please restart.";
qInfo(logSerial()) << "Could not open serial port " << portName << " , please check Radio Access under Settings.";
isConnected = false;
serialError = true;
emit havePortError(errorType(true, portName, "Could not open port. Please restart."));
emit havePortError(errorType(true, portName, "Could not open Serial or USB port.\nPlease check Radio Access under Settings."));
return;
}
}