diff options
Diffstat (limited to 'core/libdivecomputer.c')
-rw-r--r-- | core/libdivecomputer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/libdivecomputer.c b/core/libdivecomputer.c index aeca1b94c..bb70f50a2 100644 --- a/core/libdivecomputer.c +++ b/core/libdivecomputer.c @@ -1297,7 +1297,7 @@ dc_status_t divecomputer_device_open(device_data_t *data) if (transports & DC_TRANSPORT_SERIAL) { #ifdef SERIAL_FTDI - if (!strcmp(data->devname, "ftdi")) + if (!strcasecmp(data->devname, "ftdi")) return ftdi_open(&data->iostream, context); #endif rc = dc_serial_open(&data->iostream, context, data->devname); |