@@ -149,6 +149,7 rs232portslist_t* rs232getportlist() // | |||||
149 | if(NULL!=previtem)previtem->next = item; |
|
149 | if(NULL!=previtem)previtem->next = item; | |
150 | previtem = item; |
|
150 | previtem = item; | |
151 | if(NULL==firstitem)firstitem = item; |
|
151 | if(NULL==firstitem)firstitem = item; | |
|
152 | rs232close(devName); | |||
152 | } |
|
153 | } | |
153 | } |
|
154 | } | |
154 | return firstitem; |
|
155 | return firstitem; |
General Comments 0
You need to be logged in to leave comments.
Login now