Update 'main.go'
rgb/pipeline/head This commit looks good Details

pull/3/head
nathan 2 years ago
parent 4be0d5e009
commit 7e06b58522

@ -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
}

Loading…
Cancel
Save