mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Now use our table when downloading from the dive computer
We pass a different table to libdivecomputer (and the uemis code) and have that table filled. And then we simply copy the dives from that table into the real dive_table when the user accepts the download. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
e43ea018fa
commit
7357633905
3 changed files with 19 additions and 41 deletions
|
@ -128,7 +128,7 @@ static void record_uemis_dive(device_data_t *devdata, struct dive *dive)
|
|||
else
|
||||
add_dive_to_trip(dive, devdata->trip);
|
||||
}
|
||||
record_dive(dive);
|
||||
record_dive_to_table(dive, devdata->download_table);
|
||||
}
|
||||
|
||||
/* send text to the importer progress bar */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue