mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	ESP8266 disable PIO LDF (#2608)
This commit is contained in:
		| @@ -46,7 +46,9 @@ async def to_code(config): | ||||
|         mosi = await cg.gpio_pin_expression(config[CONF_MOSI_PIN]) | ||||
|         cg.add(var.set_mosi(mosi)) | ||||
|  | ||||
|     if CORE.is_esp32: | ||||
|     if CORE.is_esp32 and CORE.using_arduino: | ||||
|         cg.add_library("SPI", None) | ||||
|     if CORE.is_esp8266: | ||||
|         cg.add_library("SPI", None) | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user