Browse Source

fix wifi address config

master
pomin-163 4 months ago
parent
commit
9f5ec09404
  1. 12
      main/init/mqtt_init.c

12
main/init/mqtt_init.c

@ -148,18 +148,10 @@ static void wifi_init(void) {
wifi_init_config_t cfg = WIFI_INIT_CONFIG_DEFAULT();
wifi_config_t wifi_config = {
.sta =
// {
// .ssid = "landianb62",
// .password = "landianb62",
// },
{
.ssid = "CMCC-WEB",
.password = "88888888",
.ssid = CONFIG_ESP_WIFI_SSID,
.password = CONFIG_ESP_WIFI_PASSWORD,
},
// {
// .ssid = CONFIG_ESP_WIFI_SSID,
// .password = CONFIG_ESP_WIFI_PASSWORD,
// },
};
wifi_event_group = xEventGroupCreate();

Loading…
Cancel
Save