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:
@@ -68,7 +68,7 @@ void DynamicLamp::dump_config() {
|
|||||||
}
|
}
|
||||||
for (uint8_t i = 0; i < 16; i++) {
|
for (uint8_t i = 0; i < 16; i++) {
|
||||||
if (this->available_outputs_[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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user