mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Update for new libdivecomputer interfaces
For this you need to get the current libdivecomputer tree, reconfigure, build and install it first. But this cleans up some of the silly error handling too, and has just a single "dc_device_close()" call etc, rather than duplicating that (and the new dc_context_free()). Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
d96b504bc4
commit
a44d0049f6
2 changed files with 30 additions and 25 deletions
|
@ -15,6 +15,7 @@ typedef struct device_data_t {
|
|||
dc_descriptor_t *descriptor;
|
||||
const char *vendor, *product, *devname;
|
||||
dc_device_t *device;
|
||||
dc_context_t *context;
|
||||
progressbar_t progress;
|
||||
int preexisting;
|
||||
} device_data_t;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue