mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 22:53:59 +00:00 
			
		
		
		
	Fix LEDC missing frequency/bit_depth
Fixes https://github.com/esphome/issues/issues/338#issuecomment-495810954
This commit is contained in:
		| @@ -71,3 +71,5 @@ def to_code(config): | |||||||
|     yield output.register_output(var, config) |     yield output.register_output(var, config) | ||||||
|     if CONF_CHANNEL in config: |     if CONF_CHANNEL in config: | ||||||
|         cg.add(var.set_channel(config[CONF_CHANNEL])) |         cg.add(var.set_channel(config[CONF_CHANNEL])) | ||||||
|  |     cg.add(var.set_frequency(config[CONF_FREQUENCY])) | ||||||
|  |     cg.add(var.set_bit_depth(config[CONF_BIT_DEPTH])) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user