From ae537fc4007cad207916af6d2aa262e0391399d1 Mon Sep 17 00:00:00 2001 From: Christof Arnosti Date: Sun, 15 Mar 2020 15:35:39 +0100 Subject: android: don't show /dev/ttyS* connection Signed-off-by: Christof Arnosti Signed-off-by: Dirk Hohndel --- subsurface-mobile-main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subsurface-mobile-main.cpp b/subsurface-mobile-main.cpp index 8b11851b7..89319ba31 100644 --- a/subsurface-mobile-main.cpp +++ b/subsurface-mobile-main.cpp @@ -88,7 +88,7 @@ int main(int argc, char **argv) void set_non_bt_addresses() { -#if defined(Q_OS_LINUX) // since this is in the else, it does NOT include Android +#if defined(Q_OS_LINUX) && !defined(Q_OS_ANDROID) connectionListModel.addAddress("/dev/ttyS0"); connectionListModel.addAddress("/dev/ttyS1"); connectionListModel.addAddress("/dev/ttyS2"); -- cgit v1.2.3-70-g09d2