example: Scan failure should not cause system crash

This commit is contained in:
xiehang
2021-01-15 20:03:25 +08:00
parent 43a328a7c3
commit 025e2b0439
5 changed files with 7 additions and 8 deletions

View File

@@ -371,7 +371,7 @@ static void example_event_callback(esp_blufi_cb_event_t event, esp_blufi_cb_para
.channel = 0,
.show_hidden = false
};
ESP_ERROR_CHECK(esp_wifi_scan_start(&scanConf, true));
esp_wifi_scan_start(&scanConf, true);
break;
}
case ESP_BLUFI_EVENT_RECV_CUSTOM_DATA: