mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-30 06:33:51 +00:00 
			
		
		
		
	This commit is contained in:
		| @@ -276,9 +276,6 @@ def get_spi_interface(index): | ||||
|         return ["&SPI", "&SPI1"][index] | ||||
|     if index == 0: | ||||
|         return "&SPI" | ||||
|     # Following code can't apply to C2, H2 or 8266 since they have only one SPI | ||||
|     if get_target_variant() in (VARIANT_ESP32S3, VARIANT_ESP32S2): | ||||
|         return "new SPIClass(FSPI)" | ||||
|     return "new SPIClass(HSPI)" | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user