finding a bug

This commit is contained in:
Daniel Ledda
2020-10-31 18:37:47 +01:00
parent 2eb0d1271c
commit 7af74d41eb

View File

@@ -96,11 +96,6 @@ func cyclesForReading(pin *gpio.Pin, level gpio.Level) int {
return count return count
} }
func readPulsesAsCycles(pin *gpio.Pin) [80]int {
return cycles
}
func storeCycleCountsAsBinarySequence(cycles *[80]int) ([5]byte, error) { func storeCycleCountsAsBinarySequence(cycles *[80]int) ([5]byte, error) {
data := [5]byte{} data := [5]byte{}
for i := 0; i < 40; i++ { for i := 0; i < 40; i++ {