android/usb: stop adding the obsolete 'usb-serial' connection
The code that supported this has now been replaced by the USB device selection code. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
ec3a968df9
commit
ae42b7ceb0
@ -88,9 +88,7 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
void set_non_bt_addresses()
|
void set_non_bt_addresses()
|
||||||
{
|
{
|
||||||
#if defined(Q_OS_ANDROID)
|
#if defined(Q_OS_LINUX) // since this is in the else, it does NOT include Android
|
||||||
connectionListModel.addAddress("usb-serial"); /* obsolete, can be removed when the new USB device selection is implemented. */
|
|
||||||
#elif defined(Q_OS_LINUX) // since this is in the else, it does NOT include Android
|
|
||||||
connectionListModel.addAddress("/dev/ttyS0");
|
connectionListModel.addAddress("/dev/ttyS0");
|
||||||
connectionListModel.addAddress("/dev/ttyS1");
|
connectionListModel.addAddress("/dev/ttyS1");
|
||||||
connectionListModel.addAddress("/dev/ttyS2");
|
connectionListModel.addAddress("/dev/ttyS2");
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user