diff options
-rw-r--r-- | core/downloadfromdcthread.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/core/downloadfromdcthread.cpp b/core/downloadfromdcthread.cpp index 36829ad1b..08d8826ab 100644 --- a/core/downloadfromdcthread.cpp +++ b/core/downloadfromdcthread.cpp @@ -26,7 +26,11 @@ void DownloadThread::run() auto internalData = m_data->internalData(); internalData->descriptor = descriptorLookup[m_data->vendor() + m_data->product()]; internalData->download_table = &downloadTable; - +#if defined(Q_OS_ANDROID) + // on Android we either use BT or we download via FTDI cable + internalData->devname = "ftdi"; +#endif + qDebug() << "Starting download from " << (internalData->bluetooth_mode ? "BT" : internalData->devname); downloadTable.nr = 0; qDebug() << "Starting the thread" << downloadTable.nr; dive_table.preexisting = dive_table.nr; |