diff options
Diffstat (limited to 'core/libdivecomputer.c')
-rw-r--r-- | core/libdivecomputer.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/libdivecomputer.c b/core/libdivecomputer.c index 453bb4e2f..79eb63c7f 100644 --- a/core/libdivecomputer.c +++ b/core/libdivecomputer.c @@ -1319,6 +1319,10 @@ dc_status_t divecomputer_device_open(device_data_t *data) if (!strcasecmp(data->devname, "ftdi")) return ftdi_open(&data->iostream, context); #endif +#ifdef __ANDROID__ + if (!strcasecmp(data->devname, "usb-serial")) + return serial_usb_android_open(&data->iostream, context); +#endif rc = dc_serial_open(&data->iostream, context, data->devname); if (rc == DC_STATUS_SUCCESS) return rc; |