We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0630fc2 commit 370de5cCopy full SHA for 370de5c
utils/flasher.go
@@ -29,7 +29,7 @@ func OpenSerial(portName string) (serial.Port, error) {
29
}
30
log.Printf("Opened the serial port with baud rate %d", baudRate)
31
32
- if err := port.SetReadTimeout(10 * time.Second); err != nil {
+ if err := port.SetReadTimeout(30 * time.Second); err != nil {
33
log.Fatalf("Could not set timeout on serial port: %s", err)
34
return nil, err
35
0 commit comments