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
|
||||
|
||||
import (
|
||||
"flag"
|
||||
"testing"
|
||||
|
||||
"github.com/kidoman/embd"
|
||||
_ "github.com/kidoman/embd/host/rpi"
|
||||
"github.com/fulr/embd"
|
||||
_ "github.com/fulr/embd/host/rpi"
|
||||
)
|
||||
|
||||
func TestRfm69(t *testing.T) {
|
||||
flag.Set("v", "23")
|
||||
|
||||
t.Log("Test")
|
||||
if err := embd.InitSPI(); err != nil {
|
||||
t.Error(err)
|
||||
|
|
|
@ -4,7 +4,7 @@ package rfm69
|
|||
import (
|
||||
"log"
|
||||
|
||||
"github.com/kidoman/embd"
|
||||
"github.com/fulr/embd"
|
||||
)
|
||||
|
||||
// Device RFM69 Device
|
||||
|
|
Loading…
Add table
Reference in a new issue