From 479c070896a7e206302e072f7e15690083dc46bf Mon Sep 17 00:00:00 2001 From: bsongis Date: Sat, 7 Jun 2014 12:33:33 +0200 Subject: [PATCH] Fixes #1199 --- companion/src/mainwindow.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/companion/src/mainwindow.cpp b/companion/src/mainwindow.cpp index 9735a5899..bd9a465d1 100644 --- a/companion/src/mainwindow.cpp +++ b/companion/src/mainwindow.cpp @@ -1053,6 +1053,10 @@ bool MainWindow::readEepromFromRadio(const QString filename, const QString messa if (IS_ARM(GetCurrentFirmware()->getBoard())) { QString path = FindMassstoragePath("EEPROM.BIN"); + if (path.isEmpty()) { + // On previous OpenTX we called the EEPROM file "TARANIS.BIN" :( + path = FindMassstoragePath("TARANIS.BIN"); + } if (path.isEmpty()) { // Mike's bootloader calls the EEPROM file "ERSKY9X.BIN" :( path = FindMassstoragePath("ERSKY9X.BIN"); @@ -1098,6 +1102,10 @@ bool MainWindow::writeEepromToRadio(const QString filename, const QString messag if (IS_ARM(GetCurrentFirmware()->getBoard())) { QString path = FindMassstoragePath("EEPROM.BIN"); + if (path.isEmpty()) { + // On previous OpenTX we called the EEPROM file "TARANIS.BIN" :( + path = FindMassstoragePath("TARANIS.BIN"); + } if (path.isEmpty()) { // Mike's bootloader calls the EEPROM file "ERSKY9X.BIN" :( path = FindMassstoragePath("ERSKY9X.BIN");