Whoops missing return
This commit is contained in:
3
main.go
3
main.go
@@ -1,8 +1,8 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/warthog618/gpio"
|
||||
"math"
|
||||
"os"
|
||||
@@ -98,6 +98,7 @@ func storeCycleCountsAsBinarySequence(store *[4]byte, cycles *[80]int) error {
|
||||
store[i / 8] |= 1
|
||||
}
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func cyclesForReading(pin *gpio.Pin, level gpio.Level) int {
|
||||
|
||||
Reference in New Issue
Block a user