1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-06 21:32:21 +01:00

fix logging output in DynamicLamp::dump_config() to use c_str() directly for string conversion

This commit is contained in:
Oliver Kleinecke
2025-02-14 14:29:46 +01:00
parent 358c467a98
commit d86e76ab11

View File

@@ -68,7 +68,7 @@ void DynamicLamp::dump_config() {
}
for (uint8_t i = 0; i < 16; i++) {
if (this->available_outputs_[i] != "") {
ESP_LOGCONFIG(TAG, "Using output with id %s as output number %" PRIu8 "", &this->available_outputs_[i].c_str(), i);
ESP_LOGCONFIG(TAG, "Using output with id %s as output number %" PRIu8 "", this->available_outputs_[i].c_str(), i);
}
}
}