Update 'main.go'
All checks were successful
build rgb-board / build (push) Successful in 7m51s

This commit is contained in:
2023-10-20 02:37:26 +00:00
parent 2613cf9834
commit 155c71b49f

View File

@@ -218,7 +218,7 @@ func main() {
rt.Gpio_slowdown = *led_slowdown_gpio rt.Gpio_slowdown = *led_slowdown_gpio
setupMQTT() setupMQTT()
m, err := rgbmatrix.NewRGBLedMatrix(config, *rt) m, err := rgbmatrix.NewRGBLedMatrix(config, &rt)
fatal(err) fatal(err)
mqMessages := make(chan mqtt.Message) mqMessages := make(chan mqtt.Message)
log.Println("making listener") log.Println("making listener")