fix callback location bug

This commit is contained in:
Siwat Sirichai 2023-10-03 02:34:56 +07:00
parent 2a51b51e35
commit 440d8f283f
1 changed files with 1 additions and 1 deletions

View File

@ -364,13 +364,13 @@ void mqtt_connect()
publish_pwm_states(); publish_pwm_states();
publish_input_states(); publish_input_states();
publish_ac_state(); publish_ac_state();
mqtt_connected_user_callback();
standalone = false; standalone = false;
} }
else else
{ {
standalone = true; standalone = true;
Serial.print("MQTT not connected, continuing in standalone mode\n"); Serial.print("MQTT not connected, continuing in standalone mode\n");
mqtt_connected_user_callback();
lcd_send_stop_bit(); lcd_send_stop_bit();
} }
lcd_send_stop_bit(); lcd_send_stop_bit();