mirror of https://bitbucket.org/ausocean/av.git
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:
parent
25b4b271a1
commit
47028b70c2
|
@ -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)
|
l.Debug("setting contrast pin", "contrast", p.contrast)
|
||||||
pin.Value = int(p.contrast * 100)
|
pin.Value = int(p.contrast * 100)
|
||||||
}
|
}
|
||||||
default:
|
|
||||||
pin.Value = -1
|
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue