summaryrefslogtreecommitdiffstats
path: root/core/libdivecomputer.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2016-09-22 14:56:31 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2016-09-22 14:56:31 -0700
commit78dc3a3efe83c66a7cb31677704e1570bf8a3a4a (patch)
tree90f5cd712be2b5d12edfd929b3df39bb41ee5d21 /core/libdivecomputer.c
parentf35f767240fc6d8db43650bad624f5bde39d100a (diff)
downloadsubsurface-78dc3a3efe83c66a7cb31677704e1570bf8a3a4a.tar.gz
Revert "Add a simple cp2130 libusb driver"
Diffstat (limited to 'core/libdivecomputer.c')
-rw-r--r--core/libdivecomputer.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/libdivecomputer.c b/core/libdivecomputer.c
index 25abc4d23..4a50acf90 100644
--- a/core/libdivecomputer.c
+++ b/core/libdivecomputer.c
@@ -1034,10 +1034,6 @@ const char *do_libdivecomputer_import(device_data_t *data)
} else if (!strcmp(data->devname, "ftdi")) {
rc = dc_context_set_custom_serial(data->context, &serial_ftdi_ops);
#endif
-#ifdef SERIAL_CP2130
- } else if (!strcmp(data->devname, "cp2130")) {
- rc = dc_context_set_custom_serial(data->context, &cp2130_serial_ops);
-#endif
}
if (rc != DC_STATUS_SUCCESS) {