unsure what this does
build rgb-board / build (push) Successful in 2m12s Details

main
Nathan Wagner 9 months ago
parent 6ac630cd57
commit 2ac3a92b7a

@ -4,7 +4,6 @@ import (
"encoding/json" "encoding/json"
"fmt" "fmt"
"image" "image"
"image/color"
"time" "time"
rgbmatrix "gitea.wagshome.duckdns.org/publicWagsHome/go-rpi-rgb-led-matrix" rgbmatrix "gitea.wagshome.duckdns.org/publicWagsHome/go-rpi-rgb-led-matrix"
@ -52,7 +51,7 @@ func (a *Animation) Next() (image.Image, <-chan time.Time, error) {
default: default:
a.animateMario() a.animateMario()
} }
a.ctx.SetColor(color.White) //a.ctx.SetColor(color.White)
select { select {
case msg := <-a.mqmsg: case msg := <-a.mqmsg:
json.Unmarshal([]byte(string(msg.Payload())), &incoming) json.Unmarshal([]byte(string(msg.Payload())), &incoming)

Loading…
Cancel
Save