diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-10-19 18:42:43 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-10-24 09:51:37 -0700 |
commit | 5a19437311231aed114de8da75e19f94ac04f5aa (patch) | |
tree | ed73c87e92e39188e91c03918c01498ee2b3c5b8 /core/qtserialbluetooth.cpp | |
parent | 8c65558b5c432c1d0e9c6af5939faa56ffecf51a (diff) | |
download | subsurface-5a19437311231aed114de8da75e19f94ac04f5aa.tar.gz |
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>
Diffstat (limited to 'core/qtserialbluetooth.cpp')
-rw-r--r-- | core/qtserialbluetooth.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/qtserialbluetooth.cpp b/core/qtserialbluetooth.cpp index 0114a54f5..1dd57c592 100644 --- a/core/qtserialbluetooth.cpp +++ b/core/qtserialbluetooth.cpp @@ -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; } |