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

move the generic gpio/i2c drivers to their own folder

This commit is contained in:
Karan Misra 2014-02-27 05:34:36 +05:30
parent 860de34cb2
commit 2504678ba9
8 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
package bbb
import (
"github.com/kidoman/embd/host/generic/linux/gpio"
"github.com/kidoman/embd/driver/linux/gpio"
)
var pins = gpio.PinMap{

View File

@ -1,9 +1,9 @@
package bbb
import (
lgpio "github.com/kidoman/embd/driver/linux/gpio"
li2c "github.com/kidoman/embd/driver/linux/i2c"
"github.com/kidoman/embd/gpio"
lgpio "github.com/kidoman/embd/host/generic/linux/gpio"
li2c "github.com/kidoman/embd/host/generic/linux/i2c"
"github.com/kidoman/embd/i2c"
)

View File

@ -1,7 +1,7 @@
package rpi
import (
"github.com/kidoman/embd/host/generic/linux/gpio"
"github.com/kidoman/embd/driver/linux/gpio"
)
var rev1Pins = gpio.PinMap{

View File

@ -1,9 +1,9 @@
package rpi
import (
lgpio "github.com/kidoman/embd/driver/linux/gpio"
li2c "github.com/kidoman/embd/driver/linux/i2c"
"github.com/kidoman/embd/gpio"
lgpio "github.com/kidoman/embd/host/generic/linux/gpio"
li2c "github.com/kidoman/embd/host/generic/linux/i2c"
"github.com/kidoman/embd/i2c"
)