diff options
Diffstat (limited to 'configuredivecomputer.cpp')
-rw-r--r-- | configuredivecomputer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configuredivecomputer.cpp b/configuredivecomputer.cpp index 1262492de..2457ffe82 100644 --- a/configuredivecomputer.cpp +++ b/configuredivecomputer.cpp @@ -636,7 +636,9 @@ QString ConfigureDiveComputer::dc_open(device_data_t *data) dc_serial_t *serial_device = NULL; if (data->bluetooth_mode) { +#ifdef BT_SUPPORT rc = dc_serial_qt_open(&serial_device, data->context, data->devname); +#endif #ifdef SERIAL_FTDI } else if (!strcmp(data->devname, "ftdi")) { rc = dc_serial_ftdi_open(&serial_device, data->context); |