gpio: removed scaling function from servo driver

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram 2017-01-25 08:54:25 +01:00
parent 53ffbbd2bb
commit 6c027af8d0
1 changed files with 0 additions and 4 deletions

View File

@ -86,7 +86,3 @@ func (s *ServoDriver) Center() (err error) {
func (s *ServoDriver) Max() (err error) {
return s.Move(180)
}
func (s *ServoDriver) angleToSpan(angle byte) byte {
return byte(angle * (255 / 180))
}