From 7357633905cf3bb33a99f7c0b54d214f49373411 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Fri, 9 Jan 2015 14:44:38 -0800 Subject: 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 --- uemis-downloader.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'uemis-downloader.c') diff --git a/uemis-downloader.c b/uemis-downloader.c index 5dfce6ce2..b4abfeb62 100644 --- a/uemis-downloader.c +++ b/uemis-downloader.c @@ -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 */ -- cgit v1.2.3-70-g09d2