Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 637e5a5

Browse files
committedFeb 12, 2024
Removed redundant loggin of serial port list
1 parent d08c47b commit 637e5a5

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed
 

‎main.go

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -318,17 +318,6 @@ func loop() {
318318
}
319319
}
320320

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

0 commit comments

Comments
 (0)
Please sign in to comment.