using other embd
This commit is contained in:
parent
c3a8df58f7
commit
39d3316a1b
2 changed files with 3 additions and 6 deletions
|
@ -1,16 +1,13 @@
|
||||||
package rfm69
|
package rfm69
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"flag"
|
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/kidoman/embd"
|
"github.com/fulr/embd"
|
||||||
_ "github.com/kidoman/embd/host/rpi"
|
_ "github.com/fulr/embd/host/rpi"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestRfm69(t *testing.T) {
|
func TestRfm69(t *testing.T) {
|
||||||
flag.Set("v", "23")
|
|
||||||
|
|
||||||
t.Log("Test")
|
t.Log("Test")
|
||||||
if err := embd.InitSPI(); err != nil {
|
if err := embd.InitSPI(); err != nil {
|
||||||
t.Error(err)
|
t.Error(err)
|
||||||
|
|
|
@ -4,7 +4,7 @@ package rfm69
|
||||||
import (
|
import (
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"github.com/kidoman/embd"
|
"github.com/fulr/embd"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Device RFM69 Device
|
// Device RFM69 Device
|
||||||
|
|
Loading…
Add table
Reference in a new issue