mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
1f0a6019da
commit
02fc78570e
1 changed files with 3 additions and 0 deletions
|
@ -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.*",
|
||||
|
|
Loading…
Add table
Reference in a new issue