mirror of
https://github.com/esphome/esphome.git
synced 2026-06-24 15:28:53 +00:00
[wifi] Use LOG_STR_LITERAL for scan complete log on ESP8266 (#15001)
This commit is contained in:
@@ -735,7 +735,7 @@ void WiFiComponent::wifi_scan_done_callback_(void *arg, STATUS status) {
|
||||
}
|
||||
}
|
||||
ESP_LOGV(TAG, "Scan complete: %zu found, %zu stored%s", total, this->scan_result_.size(),
|
||||
needs_full ? "" : " (filtered)");
|
||||
needs_full ? LOG_STR_LITERAL("") : LOG_STR_LITERAL(" (filtered)"));
|
||||
this->scan_done_ = true;
|
||||
#ifdef USE_WIFI_SCAN_RESULTS_LISTENERS
|
||||
this->pending_.scan_complete = true; // Defer listener callbacks to main loop
|
||||
|
||||
Reference in New Issue
Block a user