mirror of
https://github.com/esphome/esphome.git
synced 2025-09-25 06:32:22 +01:00
[spi] relay on KEY_TARGET_PLATFORM as the other platforms does (#8066)
This commit is contained in:
@@ -97,11 +97,7 @@ RP_SPI_PINSETS = [
|
||||
|
||||
|
||||
def get_target_platform():
|
||||
return (
|
||||
CORE.data[KEY_CORE][KEY_TARGET_PLATFORM]
|
||||
if KEY_TARGET_PLATFORM in CORE.data[KEY_CORE]
|
||||
else ""
|
||||
)
|
||||
return CORE.data[KEY_CORE][KEY_TARGET_PLATFORM]
|
||||
|
||||
|
||||
def get_target_variant():
|
||||
|
Reference in New Issue
Block a user