Companion can now read and write Firmware in massstorage mode. Big code
refactoring (code was duplicated in many locations) around read/write firmware/eeprom/backups, who could do some more tests before next release? Thanks in advance!
This commit is contained in:
@@ -183,7 +183,7 @@ class MainWindow : public QMainWindow
|
||||
void updateIconThemeActions();
|
||||
|
||||
int getFileType(const QString &fullFileName);
|
||||
QString FindTaranisPath();
|
||||
QString FindMassstoragePath(QString filename);
|
||||
QString Theme;
|
||||
QString ISize;
|
||||
QString strippedName(const QString &fullFileName);
|
||||
@@ -203,6 +203,11 @@ class MainWindow : public QMainWindow
|
||||
bool convertEEPROM(QString backupFile, QString restoreFile, QString flashFile);
|
||||
bool isValidEEPROM(QString eepromfile);
|
||||
|
||||
bool readEepromFromRadio(const QString filename, const QString message);
|
||||
bool writeEepromToRadio(const QString filename, const QString message);
|
||||
bool readFirmwareFromRadio(const QString filename);
|
||||
bool writeFirmwareToRadio(const QString filename);
|
||||
|
||||
QMdiArea *mdiArea;
|
||||
QSignalMapper *windowMapper;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user