aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--subsurface-mobile-main.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/subsurface-mobile-main.cpp b/subsurface-mobile-main.cpp
index 93c81f5a1..64c941fc7 100644
--- a/subsurface-mobile-main.cpp
+++ b/subsurface-mobile-main.cpp
@@ -124,8 +124,10 @@ int main(int argc, char **argv)
void set_non_bt_addresses()
{
-#if defined(Q_OS_ANDROID)
+#if SERIAL_FTDI
connectionListModel.addAddress("FTDI");
+#endif
+#if defined(Q_OS_ANDROID)
#elif defined(Q_OS_LINUX) // since this is in the else, it does NOT include Android
connectionListModel.addAddress("/dev/ttyS0");
connectionListModel.addAddress("/dev/ttyS1");