Skip to content

Commit d7a9991

Browse files
committed
Removed redundant loggin of serial port list
1 parent d723283 commit d7a9991

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

main.go

-11
Original file line numberDiff line numberDiff line change
@@ -316,17 +316,6 @@ func loop() {
316316
}
317317
}
318318

319-
// list serial ports
320-
portList, _ := enumerateSerialPorts()
321-
log.Println("Your serial ports:")
322-
if len(portList) == 0 {
323-
log.Println("\tThere are no serial ports to list.")
324-
}
325-
for _, element := range portList {
326-
log.Printf("\t%v\n", element)
327-
328-
}
329-
330319
if !*verbose {
331320
log.Println("You can enter verbose mode to see all logging by setting the v key in the configuration file to true.")
332321
log.SetOutput(io.Discard)

0 commit comments

Comments
 (0)