mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Fix include file ordering problem
Otherwise dc_serial_qt_open() is not declared. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
9d4429c212
commit
c6c3967dd9
1 changed files with 2 additions and 2 deletions
|
@ -8,10 +8,10 @@
|
||||||
#include "divelist.h"
|
#include "divelist.h"
|
||||||
#include "display.h"
|
#include "display.h"
|
||||||
|
|
||||||
#include "libdivecomputer.h"
|
|
||||||
#include <libdivecomputer/uwatec.h>
|
#include <libdivecomputer/uwatec.h>
|
||||||
#include <libdivecomputer/hw.h>
|
#include <libdivecomputer/hw.h>
|
||||||
#include <libdivecomputer/version.h>
|
#include <libdivecomputer/version.h>
|
||||||
|
#include "libdivecomputer.h"
|
||||||
|
|
||||||
/* Christ. Libdivecomputer has the worst configuration system ever. */
|
/* Christ. Libdivecomputer has the worst configuration system ever. */
|
||||||
#ifdef HW_FROG_H
|
#ifdef HW_FROG_H
|
||||||
|
@ -965,7 +965,7 @@ const char *do_libdivecomputer_import(device_data_t *data)
|
||||||
dc_serial_t *serial_device = NULL;
|
dc_serial_t *serial_device = NULL;
|
||||||
|
|
||||||
if (data->bluetooth_mode) {
|
if (data->bluetooth_mode) {
|
||||||
#ifdef BT_SUPPORT
|
#if defined(BT_SUPPORT) && defined(SSRF_CUSTOM_SERIAL)
|
||||||
rc = dc_serial_qt_open(&serial_device, data->context, data->devname);
|
rc = dc_serial_qt_open(&serial_device, data->context, data->devname);
|
||||||
#endif
|
#endif
|
||||||
#ifdef SERIAL_FTDI
|
#ifdef SERIAL_FTDI
|
||||||
|
|
Loading…
Add table
Reference in a new issue