mirror of
https://github.com/kidoman/embd
synced 2025-07-03 20:07:40 +02:00
Reverted back to the local imports so that OneWire compiles without pull request accepted in the origin
This commit is contained in:
parent
7497131d02
commit
8ca822e51e
69 changed files with 177 additions and 177 deletions
|
@ -2,6 +2,6 @@
|
|||
package all
|
||||
|
||||
import (
|
||||
_ "github.com/kidoman/embd/host/bbb"
|
||||
_ "github.com/kidoman/embd/host/rpi"
|
||||
_ "github.com/zlowred/embd/host/bbb"
|
||||
_ "github.com/zlowred/embd/host/rpi"
|
||||
)
|
||||
|
|
|
@ -9,7 +9,7 @@ import (
|
|||
"strconv"
|
||||
"strings"
|
||||
|
||||
"github.com/kidoman/embd"
|
||||
"github.com/zlowred/embd"
|
||||
)
|
||||
|
||||
type analogPin struct {
|
||||
|
|
|
@ -3,7 +3,7 @@ package bbb
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/kidoman/embd"
|
||||
"github.com/zlowred/embd"
|
||||
)
|
||||
|
||||
func TestAnalogPinClose(t *testing.T) {
|
||||
|
|
|
@ -16,8 +16,8 @@ import (
|
|||
"strings"
|
||||
|
||||
"github.com/golang/glog"
|
||||
"github.com/kidoman/embd"
|
||||
"github.com/kidoman/embd/host/generic"
|
||||
"github.com/zlowred/embd"
|
||||
"github.com/zlowred/embd/host/generic"
|
||||
)
|
||||
|
||||
var pins = embd.PinMap{
|
||||
|
|
|
@ -11,8 +11,8 @@ import (
|
|||
"time"
|
||||
|
||||
"github.com/golang/glog"
|
||||
"github.com/kidoman/embd"
|
||||
"github.com/kidoman/embd/util"
|
||||
"github.com/zlowred/embd"
|
||||
"github.com/zlowred/embd/util"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -3,7 +3,7 @@ package bbb
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/kidoman/embd"
|
||||
"github.com/zlowred/embd"
|
||||
)
|
||||
|
||||
func TestPWMPinClose(t *testing.T) {
|
||||
|
|
|
@ -12,7 +12,7 @@ import (
|
|||
"strconv"
|
||||
"time"
|
||||
|
||||
"github.com/kidoman/embd"
|
||||
"github.com/zlowred/embd"
|
||||
)
|
||||
|
||||
type digitalPin struct {
|
||||
|
|
|
@ -3,7 +3,7 @@ package generic
|
|||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/kidoman/embd"
|
||||
"github.com/zlowred/embd"
|
||||
)
|
||||
|
||||
func TestDigitalPinClose(t *testing.T) {
|
||||
|
|
|
@ -12,7 +12,7 @@ import (
|
|||
"unsafe"
|
||||
|
||||
"github.com/golang/glog"
|
||||
"github.com/kidoman/embd"
|
||||
"github.com/zlowred/embd"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -8,7 +8,7 @@ import (
|
|||
"sync"
|
||||
"syscall"
|
||||
|
||||
"github.com/kidoman/embd"
|
||||
"github.com/zlowred/embd"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -8,7 +8,7 @@ import (
|
|||
"os"
|
||||
"strings"
|
||||
|
||||
"github.com/kidoman/embd"
|
||||
"github.com/zlowred/embd"
|
||||
)
|
||||
|
||||
type led struct {
|
||||
|
|
|
@ -8,7 +8,7 @@ import (
|
|||
"unsafe"
|
||||
|
||||
"github.com/golang/glog"
|
||||
"github.com/kidoman/embd"
|
||||
"github.com/zlowred/embd"
|
||||
)
|
||||
|
||||
const (
|
||||
|
|
|
@ -8,7 +8,7 @@ import (
|
|||
"sync"
|
||||
|
||||
"github.com/golang/glog"
|
||||
"github.com/kidoman/embd"
|
||||
"github.com/zlowred/embd"
|
||||
"io/ioutil"
|
||||
)
|
||||
|
||||
|
|
|
@ -11,8 +11,8 @@
|
|||
package rpi
|
||||
|
||||
import (
|
||||
"github.com/kidoman/embd"
|
||||
"github.com/kidoman/embd/host/generic"
|
||||
"github.com/zlowred/embd"
|
||||
"github.com/zlowred/embd/host/generic"
|
||||
)
|
||||
|
||||
var spiDeviceMinor = byte(0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue