mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	IDF 5 fixes for various components from test1.yaml (#5451)
This commit is contained in:
		| @@ -16,7 +16,7 @@ void PowerSupply::setup() { | ||||
| void PowerSupply::dump_config() { | ||||
|   ESP_LOGCONFIG(TAG, "Power Supply:"); | ||||
|   LOG_PIN("  Pin: ", this->pin_); | ||||
|   ESP_LOGCONFIG(TAG, "  Time to enable: %u ms", this->enable_time_); | ||||
|   ESP_LOGCONFIG(TAG, "  Time to enable: %" PRIu32 " ms", this->enable_time_); | ||||
|   ESP_LOGCONFIG(TAG, "  Keep on time: %.1f s", this->keep_on_time_ / 1000.0f); | ||||
| } | ||||
|  | ||||
|   | ||||
| @@ -3,6 +3,8 @@ | ||||
| #include "esphome/core/component.h" | ||||
| #include "esphome/core/hal.h" | ||||
|  | ||||
| #include <cinttypes> | ||||
|  | ||||
| namespace esphome { | ||||
| namespace power_supply { | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user