summaryrefslogtreecommitdiffstats
path: root/android.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-18 13:29:40 +0900
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-05-19 20:12:55 +0900
commit047032ee46ef00d924dea0ee68b0f2726975fcd6 (patch)
treeb3a8c1120e2bc873e6996842fba7a820a7a0c282 /android.cpp
parent6d42a99e7f6d3ea3a9c977604c7cc980a4215f18 (diff)
downloadsubsurface-047032ee46ef00d924dea0ee68b0f2726975fcd6.tar.gz
Divecomputer download: try to offer only those devices that make sense
If the user selects a Uemis divecomputer, don't show serial devices. If the user selects a serial divecomputer, don't show the Uemis filesystem. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'android.cpp')
-rw-r--r--android.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/android.cpp b/android.cpp
index 15de9e65d..4dfaccb07 100644
--- a/android.cpp
+++ b/android.cpp
@@ -29,7 +29,7 @@ const char *system_default_filename(void)
return strdup(system_default_filename.toUtf8().data());
}
-int enumerate_devices (device_callback_t callback, void *userdata)
+int enumerate_devices (device_callback_t callback, void *userdata, int dc_type)
{
/* FIXME: we need to enumerate in some other way on android */
/* qtserialport maybee? */