diff options
| author | hathach <[email protected]> | 2022-01-16 13:24:36 +0700 |
|---|---|---|
| committer | hathach <[email protected]> | 2022-01-16 13:24:36 +0700 |
| commit | e1e457761656a489aded7039ad173351e2e6a7c2 (patch) | |
| tree | 435fa97c71c005ec6f5cb9e04ba116fd32799524 | |
| parent | e635c16de089953e305e94cba8524cb6f3aeae6f (diff) | |
more ci fix
| -rw-r--r-- | hw/bsp/esp32s2/boards/esp32s2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/bsp/esp32s2/boards/esp32s2.c b/hw/bsp/esp32s2/boards/esp32s2.c index 77754908e..de4b1e5ba 100644 --- a/hw/bsp/esp32s2/boards/esp32s2.c +++ b/hw/bsp/esp32s2/boards/esp32s2.c @@ -70,7 +70,7 @@ void board_init(void) #endif // Button - gpio_pad_select_gpio(BUTTON_PIN); + esp_rom_gpio_pad_select_gpio(BUTTON_PIN); gpio_set_direction(BUTTON_PIN, GPIO_MODE_INPUT); gpio_set_pull_mode(BUTTON_PIN, BUTTON_STATE_ACTIVE ? GPIO_PULLDOWN_ONLY : GPIO_PULLUP_ONLY); |
