summaryrefslogtreecommitdiffstats
path: root/core/downloadfromdcthread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'core/downloadfromdcthread.cpp')
-rw-r--r--core/downloadfromdcthread.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/downloadfromdcthread.cpp b/core/downloadfromdcthread.cpp
index 250405f2f..d6e06aae3 100644
--- a/core/downloadfromdcthread.cpp
+++ b/core/downloadfromdcthread.cpp
@@ -216,7 +216,11 @@ DCDeviceData::DCDeviceData()
data.download_table = nullptr;
data.diveid = 0;
data.deviceid = 0;
+#if defined(BT_SUPPORT)
data.bluetooth_mode = true;
+#else
+ data.bluetooth_mode = false;
+#endif
data.force_download = false;
data.create_new_trip = false;
data.libdc_dump = false;