Fix for test
This commit is contained in:
parent
da1d06618f
commit
56dc8ce5fb
1 changed files with 3 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
||||||
package rfm69
|
package rfm69
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"flag"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"github.com/kidoman/embd"
|
"github.com/kidoman/embd"
|
||||||
|
@ -8,6 +9,8 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
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)
|
||||||
|
|
Loading…
Add table
Reference in a new issue