summaryrefslogtreecommitdiffstats
path: root/core/configuredivecomputer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/configuredivecomputer.cpp')
-rw-r--r--core/configuredivecomputer.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/core/configuredivecomputer.cpp b/core/configuredivecomputer.cpp
index 6fef1eb21..ae0c882f5 100644
--- a/core/configuredivecomputer.cpp
+++ b/core/configuredivecomputer.cpp
@@ -635,11 +635,7 @@ QString ConfigureDiveComputer::dc_open(device_data_t *data)
fprintf(data->libdc_logfile, "built with libdivecomputer v%s\n", dc_version(NULL));
}
- if (data->bluetooth_mode) {
-#if defined(BT_SUPPORT)
- rc = ble_packet_open(&data->iostream, data->context, data->devname, data);
-#endif
- }
+ rc = divecomputer_device_open(data);
if (rc != DC_STATUS_SUCCESS) {
report_error(errmsg(rc));