diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-10-26 06:05:27 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-10-26 06:51:47 -0700 |
commit | 3b0f38f24a3c3d7ccadf8c0b0011dfc58c2f9d46 (patch) | |
tree | ef71eedd9499b3441da39ff5d0516c76f76bb7f4 /libdivecomputer.c | |
parent | 1d10a56bdf6823e8935729aef60b659dea550a6a (diff) | |
download | subsurface-3b0f38f24a3c3d7ccadf8c0b0011dfc58c2f9d46.tar.gz |
Fix building without BT support
I guess no one had tried this in a while.
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
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); |