cmd/rv/main.go: This resolves issue #370. Removing default statement in readPin so that netsender net speed values are kept

This commit is contained in:
Saxon Nelson-Milton 2022-05-25 15:12:15 +09:30
parent 25b4b271a1
commit 47028b70c2
1 changed files with 0 additions and 2 deletions

View File

@ -317,8 +317,6 @@ func readPin(p *turbidityProbe, rv *revid.Revid, l *logger.Logger) func(pin *net
l.Debug("setting contrast pin", "contrast", p.contrast)
pin.Value = int(p.contrast * 100)
}
default:
pin.Value = -1
}
return nil
}