1
0
mirror of https://github.com/kidoman/embd synced 2024-12-22 21:00:05 +01:00

bbb: do not export pins

This commit is contained in:
Karan Misra 2014-02-27 05:21:24 +05:30
parent 66d0ab22fd
commit 860de34cb2
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ import (
"github.com/kidoman/embd/host/generic/linux/gpio"
)
var Pins = gpio.PinMap{
var pins = gpio.PinMap{
&gpio.PinDesc{66, []string{"P8_07", "GPIO_66", "TIMER4"}, gpio.Normal | gpio.GPMC},
&gpio.PinDesc{67, []string{"P8_08", "GPIO_67", "TIMER7"}, gpio.Normal | gpio.GPMC},
&gpio.PinDesc{69, []string{"P8_09", "GPIO_69", "TIMER5"}, gpio.Normal | gpio.GPMC},

View File

@ -11,7 +11,7 @@ type descriptor struct {
}
func (d *descriptor) GPIO() gpio.GPIO {
return lgpio.New(Pins)
return lgpio.New(pins)
}
func (d *descriptor) I2C() i2c.I2C {