diff --git a/main.go b/main.go index 76908e8..709d684 100644 --- a/main.go +++ b/main.go @@ -218,7 +218,7 @@ func main() { rt.Gpio_slowdown = *led_slowdown_gpio setupMQTT() - m, err := rgbmatrix.NewRGBLedMatrix(config, *rt) + m, err := rgbmatrix.NewRGBLedMatrix(config, &rt) fatal(err) mqMessages := make(chan mqtt.Message) log.Println("making listener")