From f98303e150dff20bf645eb33e0a10bb510ac04ee Mon Sep 17 00:00:00 2001 From: Friedl Ulrich Date: Fri, 6 Feb 2015 21:42:24 +0100 Subject: [PATCH] Buildfix --- rfm69d/rfm69d.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/rfm69d/rfm69d.go b/rfm69d/rfm69d.go index 7804868..4423db8 100644 --- a/rfm69d/rfm69d.go +++ b/rfm69d/rfm69d.go @@ -36,8 +36,9 @@ func main() { rfm, err := rfm69.NewDevice(spiBus, gpio, 1, 10, true) if err != nil { - t.Error(err) + log.Fatal(err) } - t.Log(rfm) + t.Print(rfm) + rfm.Loop() }