diff --git a/src/RS232_unix.c b/src/RS232_unix.c --- a/src/RS232_unix.c +++ b/src/RS232_unix.c @@ -54,7 +54,7 @@ int rs232close(rs232port_t fd) rs232portslist_t* rs232getportlist() { struct dirent *dp; - char* path="/dev/serial/by-id"; + char* path="/dev/serial/by-path"; DIR *dir = opendir(path); rs232portslist_t* firstitem=NULL; rs232portslist_t* previtem=NULL;