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:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user