mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Pass the whole 'device_data_t' to the uemis downloader
Not only does it make it look more like the libdivecomputer downloaders, but the uemis downloader needs it in order to support all the flags we have. Notably "download into private trip". Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
9882bf5ff8
commit
a7e1e7fee1
3 changed files with 5 additions and 3 deletions
|
@ -477,7 +477,7 @@ void DownloadThread::run()
|
|||
const char *errorText;
|
||||
import_thread_cancelled = false;
|
||||
if (!strcmp(data->vendor, "Uemis"))
|
||||
errorText = do_uemis_import(data->devname, data->force_download);
|
||||
errorText = do_uemis_import(data);
|
||||
else
|
||||
errorText = do_libdivecomputer_import(data);
|
||||
if (errorText)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue