fix review comments

This commit is contained in:
Tomasz Duda 2024-07-22 13:03:04 +02:00
parent 685ebbecbc
commit 58dc8445f9
2 changed files with 2 additions and 2 deletions

View file

@ -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,
), ),

View file

@ -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")