summaryrefslogtreecommitdiffstats
path: root/core/macos.c
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2018-09-24 06:23:59 -0700
committerGravatar Jan Mulder <jlmulder@xs4all.nl>2018-09-24 18:51:21 +0200
commit02fc78570e7d0a44264a9084a4884581adafe218 (patch)
tree30234cc388ea20d1ad4fce0c07575a84ae87d8aa /core/macos.c
parent1f0a6019da0f62fcc567ad0a96fa53cc4bc1971e (diff)
downloadsubsurface-02fc78570e7d0a44264a9084a4884581adafe218.tar.gz
macOS: always list 'FTDI' as a serial connection
We now link against the user space FTDI driver. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/macos.c')
-rw-r--r--core/macos.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/macos.c b/core/macos.c
index 05353b5ba..2d9832348 100644
--- a/core/macos.c
+++ b/core/macos.c
@@ -104,6 +104,9 @@ int enumerate_devices(device_callback_t callback, void *userdata, unsigned int t
struct dirent *ep = NULL;
size_t i;
if (transport & DC_TRANSPORT_SERIAL) {
+ // on Mac we always support FTDI now
+ callback("FTDI", userdata);
+
const char *dirname = "/dev";
const char *patterns[] = {
"tty.*",