@@ -54,7 +54,7 int rs232close(rs232port_t fd) | |||||
54 | rs232portslist_t* rs232getportlist() |
|
54 | rs232portslist_t* rs232getportlist() | |
55 | { |
|
55 | { | |
56 | struct dirent *dp; |
|
56 | struct dirent *dp; | |
57 |
char* path="/dev/serial/by- |
|
57 | char* path="/dev/serial/by-path"; | |
58 | DIR *dir = opendir(path); |
|
58 | DIR *dir = opendir(path); | |
59 | rs232portslist_t* firstitem=NULL; |
|
59 | rs232portslist_t* firstitem=NULL; | |
60 | rs232portslist_t* previtem=NULL; |
|
60 | rs232portslist_t* previtem=NULL; |
General Comments 0
You need to be logged in to leave comments.
Login now