dont' start right away from STA_START, that'll load from nvs
This commit is contained in:
parent
1554ec8fa8
commit
cda32dd951
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ static esp_err_t wifi_event_handler(void *ctx, system_event_t *event) {
|
|||
switch (event->event_id) {
|
||||
case SYSTEM_EVENT_STA_START:
|
||||
ESP_LOGI(TAG, "SYSTEM_EVENT_STA_START");
|
||||
ESP_ERROR_CHECK(esp_wifi_connect());
|
||||
//ESP_ERROR_CHECK(esp_wifi_connect());
|
||||
break;
|
||||
case SYSTEM_EVENT_STA_GOT_IP:
|
||||
ESP_LOGI(TAG, "SYSTEM_EVENT_STA_GOT_IP");
|
||||
|
|
Loading…
Reference in a new issue