1
0
mirror of https://github.com/kidoman/embd synced 2024-12-22 21:00:05 +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 package bbb
import ( import (
"github.com/kidoman/embd/host/generic/linux/gpio" "github.com/kidoman/embd/driver/linux/gpio"
) )
var pins = gpio.PinMap{ var pins = gpio.PinMap{

View File

@ -1,9 +1,9 @@
package bbb package bbb
import ( import (
lgpio "github.com/kidoman/embd/driver/linux/gpio"
li2c "github.com/kidoman/embd/driver/linux/i2c"
"github.com/kidoman/embd/gpio" "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" "github.com/kidoman/embd/i2c"
) )

View File

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

View File

@ -1,9 +1,9 @@
package rpi package rpi
import ( import (
lgpio "github.com/kidoman/embd/driver/linux/gpio"
li2c "github.com/kidoman/embd/driver/linux/i2c"
"github.com/kidoman/embd/gpio" "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" "github.com/kidoman/embd/i2c"
) )