android: don't show /dev/ttyS* connection

Signed-off-by: Christof Arnosti <charno@charno.ch>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Christof Arnosti 2020-03-15 15:35:39 +01:00 committed by Dirk Hohndel
parent 87e12029f9
commit ae537fc400

View file

@ -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");