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>
This commit is contained in:
Dirk Hohndel 2018-09-24 06:23:59 -07:00 committed by Jan Mulder
parent 1f0a6019da
commit 02fc78570e

View file

@ -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.*",