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:
parent
66d0ab22fd
commit
860de34cb2
@ -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},
|
||||
|
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user