Compare commits

...

2 Commits

Author SHA1 Message Date
Siwat Sirichai b22d3bc8a4 Merge branch 'main' into cud 2023-10-03 02:35:01 +07:00
Siwat Sirichai 440d8f283f fix callback location bug 2023-10-03 02:34:56 +07:00
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();