mirror of
				https://github.com/esphome/esphome.git
				synced 2025-11-04 09:01:49 +00: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