diff --git a/rfm69d/rfm69d.go b/rfm69d/rfm69d.go index 1c89d85..6402161 100644 --- a/rfm69d/rfm69d.go +++ b/rfm69d/rfm69d.go @@ -42,7 +42,7 @@ func main() { } log.Print(rfm) - err = rfm.Encrypt("0123456789012345") + err = rfm.Encrypt([]byte("0123456789012345")) if err != nil { log.Fatal(err) }