Changeset 5c4f998 in subsurface


Ignore:
Timestamp:
May 29, 2017, 3:05:46 PM (4 weeks ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
18eff8f
Parents:
a568562
Message:

Use magic 'ftdi' as device name on Android

Signed-off-by: Dirk Hohndel <dirk@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • core/downloadfromdcthread.cpp

    r88738ede r5c4f998  
    2727        internalData->descriptor = descriptorLookup[m_data->vendor() + m_data->product()];
    2828        internalData->download_table =  &downloadTable;
    29 
     29#if defined(Q_OS_ANDROID)
     30        // on Android we either use BT or we download via FTDI cable
     31        internalData->devname = "ftdi";
     32#endif
     33        qDebug() << "Starting download from " << (internalData->bluetooth_mode ? "BT" : internalData->devname);
    3034        downloadTable.nr = 0;
    3135        qDebug() << "Starting the thread" << downloadTable.nr;
Note: See TracChangeset for help on using the changeset viewer.