diff options
| author | 2018-10-04 11:48:40 +0200 | |
|---|---|---|
| committer | 2018-10-05 04:07:22 +0300 | |
| commit | 8a1839610458ea788304f700886d54af680d6e53 (patch) | |
| tree | abc7b80ef72566e02ef035c7f08e1cfba3a8f300 /libdivecomputer | |
| parent | 5a787305612c18ee9a442e4dd6067d3c35f05f87 (diff) | |
| download | subsurface-8a1839610458ea788304f700886d54af680d6e53.tar.gz | |
Cleanup: don't access downloadTable directly in Uemis-downloader
The Uemis downloader determines the dive-number to be downloaded
by either checking the download-table [interrupted connection] or
the global dive table [fresh download].
The downloadTable is passed in the device data structure, but
in the function to determine the latest dive, the global
downloadTable is accessed directly [thus supposing that this
table was passed in device data].
Instead, use the table from device data to avoid funny surprises
should we change to a non-global download table.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'libdivecomputer')
0 files changed, 0 insertions, 0 deletions