From ae42b7ceb094984fb6c94a65cbc8e0cf715cd06e Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Sat, 14 Mar 2020 18:51:02 -0700 Subject: 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 --- subsurface-mobile-main.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'subsurface-mobile-main.cpp') diff --git a/subsurface-mobile-main.cpp b/subsurface-mobile-main.cpp index d1c371a40..8b11851b7 100644 --- a/subsurface-mobile-main.cpp +++ b/subsurface-mobile-main.cpp @@ -88,9 +88,7 @@ int main(int argc, char **argv) void set_non_bt_addresses() { -#if defined(Q_OS_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 +#if defined(Q_OS_LINUX) // since this is in the else, it does NOT include Android connectionListModel.addAddress("/dev/ttyS0"); connectionListModel.addAddress("/dev/ttyS1"); connectionListModel.addAddress("/dev/ttyS2"); -- cgit v1.2.3-70-g09d2