mirror of
https://github.com/esphome/esphome.git
synced 2026-07-10 08:55:36 +00:00
preen
This commit is contained in:
@@ -234,7 +234,7 @@ def _is_framework_spi_polling_mode_supported() -> bool:
|
||||
return False
|
||||
|
||||
|
||||
def _validate_spi_interface(config):
|
||||
def _validate_spi_interface(config: ConfigType) -> ConfigType:
|
||||
"""Set default SPI interface or validate user choice against the variant."""
|
||||
if not CORE.is_esp32:
|
||||
return config
|
||||
|
||||
Reference in New Issue
Block a user