mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
cleanup: remove dc_user_device_t
The same structure was defined as "struct dc_user_device_t" and typedefed as "device_data_t". Unify this. Since there are much more of the latter, remove the former. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
8c65558b5c
commit
5a19437311
4 changed files with 8 additions and 9 deletions
|
|
@ -300,7 +300,7 @@ ble_packet_open(dc_iostream_t **iostream, dc_context_t *context, const char* dev
|
|||
.close = qt_ble_close,
|
||||
};
|
||||
|
||||
rc = qt_ble_open(&io, context, devaddr, (dc_user_device_t *) userdata);
|
||||
rc = qt_ble_open(&io, context, devaddr, (device_data_t *) userdata);
|
||||
if (rc != DC_STATUS_SUCCESS) {
|
||||
return rc;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue