1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-26 01:35:21 +03:00

Update eeprom file name in companion

This commit is contained in:
Andre Bernet 2014-04-08 16:13:50 +02:00
parent 692b13bba5
commit 63c3ae5a7a

View file

@ -969,7 +969,7 @@ QString MainWindow::FindTaranisPath()
QString vName=QString::fromUtf16 ( (const ushort *) szVolumeName) ;
if (vName.contains("TARANIS")) {
eepromfile=drive.absolutePath();
eepromfile.append("/TARANIS.BIN");
eepromfile.append("/EEPROM.BIN");
if (QFile::exists(eepromfile)) {
pathcount++;
path=eepromfile;
@ -985,7 +985,7 @@ QString MainWindow::FindTaranisPath()
drives.append(entry->me_devname);
eepromfile=entry->me_mountdir;
eepromfile.append("/TARANIS.BIN");
eepromfile.append("/EEPROM.BIN");
#if !defined __APPLE__ && !defined WIN32
QString fstype=entry->me_type;
qDebug() << fstype;