diff --git a/companion/src/mainwindow.cpp b/companion/src/mainwindow.cpp index 3438fb09f..c80b19309 100644 --- a/companion/src/mainwindow.cpp +++ b/companion/src/mainwindow.cpp @@ -997,6 +997,7 @@ QString MainWindow::FindTaranisPath() eepromfile=temppath; eepromfile.append("/EEPROM.BIN"); #if !defined __APPLE__ && !defined WIN32 + QString fstype = entry->me_type; if (QFile::exists(eepromfile) && fstype.contains("fat") ) { #else if (QFile::exists(eepromfile)) { @@ -1008,6 +1009,7 @@ QString MainWindow::FindTaranisPath() eepromfile=temppath; eepromfile.append("/TARANIS.BIN"); #if !defined __APPLE__ && !defined WIN32 + QString fstype = entry->me_type; if (QFile::exists(eepromfile) && fstype.contains("fat") ) { #else if (QFile::exists(eepromfile)) {