feat(cpn): improve flashing messages (#6588)

This commit is contained in:
Neil Horne
2025-09-19 11:38:08 +10:00
committed by GitHub
parent 8c23ea75c0
commit 5ece93fd0e
8 changed files with 125 additions and 90 deletions
+2 -2
View File
@@ -601,7 +601,7 @@ void MainWindow::readFlash()
QMessageBox::critical(this, tr("Detect Radio"),
tr("Radio could not be detected by DFU or UF2 modes") % ".\n" %
tr("Check cable is securely connected and radio lights are illuminated") % ".\n" %
tr("Note: USB mode is not suitable for flashing firmware."));
tr("Note: USB mode is not suitable for reading firmware."));
return;
}
@@ -614,7 +614,7 @@ void MainWindow::readFlash()
[this, progress](const QByteArray &_data) {
writeFirmwareToFile(this, _data, progress, true);
},
[this](const QString &err) {
[](const QString &err) {
qDebug() << tr("Could not read radio firmware: %1").arg(err);
},
progress);