mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-30 22:20:21 +00:00
Don't override device name when using BT
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
afb45a216c
commit
e0771e50f1
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue