Merge branch 'get_peername_stack_save_ram' into integration

This commit is contained in:
J. Nick Koston
2026-01-04 14:07:08 -10:00
3 changed files with 18 additions and 12 deletions
+4 -2
View File
@@ -21,9 +21,11 @@ void PCF8574Component::loop() {
this->reset_pin_cache_();
}
void PCF8574Component::dump_config() {
ESP_LOGCONFIG(TAG, "PCF8574:");
ESP_LOGCONFIG(TAG,
"PCF8574:\n"
" Is PCF8575: %s",
YESNO(this->pcf8575_));
LOG_I2C_DEVICE(this)
ESP_LOGCONFIG(TAG, " Is PCF8575: %s", YESNO(this->pcf8575_));
if (this->is_failed()) {
ESP_LOGE(TAG, ESP_LOG_MSG_COMM_FAIL);
}
+4 -2
View File
@@ -15,10 +15,12 @@ void TLC5971::setup() {
this->pwm_amounts_.resize(this->num_chips_ * N_CHANNELS_PER_CHIP, 0);
}
void TLC5971::dump_config() {
ESP_LOGCONFIG(TAG, "TLC5971:");
ESP_LOGCONFIG(TAG,
"TLC5971:\n"
" Number of chips: %u",
this->num_chips_);
LOG_PIN(" Data Pin: ", this->data_pin_);
LOG_PIN(" Clock Pin: ", this->clock_pin_);
ESP_LOGCONFIG(TAG, " Number of chips: %u", this->num_chips_);
}
void TLC5971::loop() {
+10 -8
View File
@@ -1002,19 +1002,21 @@ void WiFiComponent::print_connect_params_() {
char gateway_buf[network::IP_ADDRESS_BUFFER_SIZE];
char dns1_buf[network::IP_ADDRESS_BUFFER_SIZE];
char dns2_buf[network::IP_ADDRESS_BUFFER_SIZE];
// clang-format off
ESP_LOGCONFIG(TAG,
" SSID: " LOG_SECRET("'%s'") "\n"
" BSSID: " LOG_SECRET("%s") "\n"
" Hostname: '%s'\n"
" Signal strength: %d dB %s\n"
" Channel: %" PRId32 "\n"
" Subnet: %s\n"
" Gateway: %s\n"
" DNS1: %s\n"
" DNS2: %s",
" BSSID: " LOG_SECRET("%s") "\n"
" Hostname: '%s'\n"
" Signal strength: %d dB %s\n"
" Channel: %" PRId32 "\n"
" Subnet: %s\n"
" Gateway: %s\n"
" DNS1: %s\n"
" DNS2: %s",
wifi_ssid_to(ssid_buf), bssid_s, App.get_name().c_str(), rssi, LOG_STR_ARG(get_signal_bars(rssi)),
get_wifi_channel(), wifi_subnet_mask_().str_to(subnet_buf), wifi_gateway_ip_().str_to(gateway_buf),
wifi_dns_ip_(0).str_to(dns1_buf), wifi_dns_ip_(1).str_to(dns2_buf));
// clang-format on
#ifdef ESPHOME_LOG_HAS_VERBOSE
if (const WiFiAP *config = this->get_selected_sta_(); config && config->has_bssid()) {
ESP_LOGV(TAG, " Priority: %d", this->get_sta_priority(config->get_bssid()));