diff options
Diffstat (limited to 'libdivecomputer.c')
-rw-r--r-- | libdivecomputer.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libdivecomputer.c b/libdivecomputer.c index b5f90cb35..ca8378379 100644 --- a/libdivecomputer.c +++ b/libdivecomputer.c @@ -971,7 +971,9 @@ const char *do_libdivecomputer_import(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); |