mirror of
https://github.com/esphome/esphome.git
synced 2024-12-18 03:24:54 +01:00
fix review comments
This commit is contained in:
parent
685ebbecbc
commit
58dc8445f9
2 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ def validate_gpio_pin(value):
|
||||||
|
|
||||||
NRF52_PIN_SCHEMA = cv.All(
|
NRF52_PIN_SCHEMA = cv.All(
|
||||||
pins.gpio_base_schema(
|
pins.gpio_base_schema(
|
||||||
GPIOPin,
|
ZephyrGPIOPin,
|
||||||
validate_gpio_pin,
|
validate_gpio_pin,
|
||||||
modes=pins.GPIO_STANDARD_MODES,
|
modes=pins.GPIO_STANDARD_MODES,
|
||||||
),
|
),
|
||||||
|
|
|
@ -604,8 +604,8 @@ def only_with_framework(frameworks):
|
||||||
|
|
||||||
only_on_esp32 = only_on(PLATFORM_ESP32)
|
only_on_esp32 = only_on(PLATFORM_ESP32)
|
||||||
only_on_esp8266 = only_on(PLATFORM_ESP8266)
|
only_on_esp8266 = only_on(PLATFORM_ESP8266)
|
||||||
only_on_rp2040 = only_on(PLATFORM_RP2040)
|
|
||||||
only_on_nrf52 = only_on(PLATFORM_NRF52)
|
only_on_nrf52 = only_on(PLATFORM_NRF52)
|
||||||
|
only_on_rp2040 = only_on(PLATFORM_RP2040)
|
||||||
only_with_arduino = only_with_framework("arduino")
|
only_with_arduino = only_with_framework("arduino")
|
||||||
only_with_esp_idf = only_with_framework("esp-idf")
|
only_with_esp_idf = only_with_framework("esp-idf")
|
||||||
only_with_zephyr = only_with_framework("zephyr")
|
only_with_zephyr = only_with_framework("zephyr")
|
||||||
|
|
Loading…
Reference in a new issue