fix callback location bug
This commit is contained in:
parent
2a51b51e35
commit
440d8f283f
|
@ -364,13 +364,13 @@ void mqtt_connect()
|
|||
publish_pwm_states();
|
||||
publish_input_states();
|
||||
publish_ac_state();
|
||||
mqtt_connected_user_callback();
|
||||
standalone = false;
|
||||
}
|
||||
else
|
||||
{
|
||||
standalone = true;
|
||||
Serial.print("MQTT not connected, continuing in standalone mode\n");
|
||||
mqtt_connected_user_callback();
|
||||
lcd_send_stop_bit();
|
||||
}
|
||||
lcd_send_stop_bit();
|
||||
|
|
Loading…
Reference in New Issue