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;