Don't override device name when using BT

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2017-05-30 17:47:22 -07:00
parent afb45a216c
commit e0771e50f1

View file

@ -28,7 +28,8 @@ void DownloadThread::run()
internalData->download_table = &downloadTable;
#if defined(Q_OS_ANDROID)
// on Android we either use BT or we download via FTDI cable
internalData->devname = "ftdi";
if (!internalData->bluetooth_mode)
internalData->devname = "ftdi";
#endif
qDebug() << "Starting download from " << (internalData->bluetooth_mode ? "BT" : internalData->devname);
downloadTable.nr = 0;