summaryrefslogtreecommitdiffstats
path: root/core/qtserialbluetooth.cpp
diff options
context:
space:
mode:
authorGravatar Berthold Stoeger <bstoeger@mail.tuwien.ac.at>2020-10-19 18:42:43 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2020-10-24 09:51:37 -0700
commit5a19437311231aed114de8da75e19f94ac04f5aa (patch)
treeed73c87e92e39188e91c03918c01498ee2b3c5b8 /core/qtserialbluetooth.cpp
parent8c65558b5c432c1d0e9c6af5939faa56ffecf51a (diff)
downloadsubsurface-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.cpp2
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;
}