More tiny fixes/enhancements
This commit is contained in:
parent
970664429a
commit
8af3ab3fb6
4 changed files with 114 additions and 35 deletions
2
vm/vm.go
2
vm/vm.go
|
|
@ -424,7 +424,7 @@ func (vm *VM) writeSerial(b []byte) error {
|
|||
// and this will ensure that we do not write faster than the polling rate.
|
||||
for i := range b {
|
||||
_, err := vm.serialWrite.Write([]byte{b[i]})
|
||||
time.Sleep(time.Millisecond * 10)
|
||||
time.Sleep(time.Millisecond)
|
||||
if err != nil {
|
||||
return errors.Wrapf(err, "write char #%v", i)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue