Update 'main.go'
All checks were successful
rgb/pipeline/head This commit looks good

This commit is contained in:
2023-01-15 05:50:46 +00:00
parent 4be0d5e009
commit 7e06b58522

View File

@@ -118,6 +118,7 @@ func setupMQTT() *mqtt.ClientOptions {
opts.SetUsername(os.Getenv("MQTTUSER"))
opts.SetPassword(os.Getenv("MQTTPASSWORD"))
opts.SetClientID("rgbboard")
opts.SetAutoReconnect(true)
return opts
}