Skip to content

get invalid port name on Windows(commit 0996f84) #194

Open
@fcying

Description

in the pre commit(f5a4685), use Refresh func get port name Found port: COM1
last commit(0996f84), Found port: \Device\Serial0

func Refresh() []string {
	ports, err := serial.GetPortsList()
	if err != nil {
		log.Fatal(err)
	}
	for _, port := range ports {
		log.Printf("Found port: %v\n", port)
	}
	return ports
}

Is there a way to switch back to the original display?

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions