1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-09 23:02:23 +01:00

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

This commit is contained in:
Oliver Kleinecke
2025-02-14 14:27:18 +01:00
parent 4bd04442a0
commit 358c467a98

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], i);
ESP_LOGCONFIG(TAG, "Using output with id %s as output number %" PRIu8 "", &this->available_outputs_[i].c_str(), i);
}
}
}