raspi: remove unused code

Signed-off-by: deadprogram <ron@hybridgroup.com>
This commit is contained in:
deadprogram 2017-05-01 08:47:58 +02:00
parent efb9f7647d
commit f13fb15ebb
1 changed files with 0 additions and 13 deletions

View File

@ -4,7 +4,6 @@ import (
"errors"
"fmt"
"io/ioutil"
"os"
"strconv"
"strings"
@ -199,15 +198,3 @@ func (r *Adaptor) PWMPin(pin string) (raspiPWMPin *PWMPin, err error) {
return r.pwmPins[i], nil
}
func (r *Adaptor) piBlaster(data string) (err error) {
fi, err := sysfs.OpenFile("/dev/pi-blaster", os.O_WRONLY|os.O_APPEND, 0644)
defer fi.Close()
if err != nil {
return err
}
_, err = fi.WriteString(data)
return
}