Refactor of Get Ports
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
package serial
|
||||
|
||||
func Get_Ports() []string {
|
||||
func GetPorts() []string {
|
||||
|
||||
//will eventually hold a list of connected usb devices with matching ID
|
||||
ports := []string{"/dev/tty0","/dev/tty2","/dev/tty3"}
|
||||
|
||||
Reference in New Issue
Block a user