Incorrect type used.
This commit is contained in:
parent
d165adb63d
commit
f9d9005c3b
@ -1,6 +1,6 @@
|
|||||||
void ConnectMQTT() {
|
void ConnectMQTT() {
|
||||||
static char *password = MQTT_PASSWORD;
|
static const char *password = MQTT_PASSWORD;
|
||||||
static char *user = MQTT_USER;
|
static const char *user = MQTT_USER;
|
||||||
Serial.println("connecting MQTT...");
|
Serial.println("connecting MQTT...");
|
||||||
while (!mqtt_client.connect("brewhouse", user, password)) {
|
while (!mqtt_client.connect("brewhouse", user, password)) {
|
||||||
Serial.print(".");
|
Serial.print(".");
|
||||||
|
Loading…
Reference in New Issue
Block a user