mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
6d42a99e7f
commit
047032ee46
7 changed files with 178 additions and 111 deletions
|
@ -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? */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue