mirror of
https://github.com/esphome/esphome.git
synced 2025-10-20 02:33:50 +01:00
merge
This commit is contained in:
@@ -763,8 +763,8 @@ void WiFiComponent::wifi_process_event_(IDFWiFiEvent *data) {
|
|||||||
const auto &it = data->data.sta_scan_done;
|
const auto &it = data->data.sta_scan_done;
|
||||||
ESP_LOGV(TAG, "Scan done: status=%" PRIu32 " number=%u scan_id=%u", it.status, it.number, it.scan_id);
|
ESP_LOGV(TAG, "Scan done: status=%" PRIu32 " number=%u scan_id=%u", it.status, it.number, it.scan_id);
|
||||||
|
|
||||||
this->scan_done_ = true;
|
|
||||||
scan_result_.clear();
|
scan_result_.clear();
|
||||||
|
this->scan_done_ = true;
|
||||||
|
|
||||||
if (it.status != 0) {
|
if (it.status != 0) {
|
||||||
// scan error
|
// scan error
|
||||||
|
Reference in New Issue
Block a user