mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Merge branch 'bugfix/typo_in_hci_uart_example_for_esp32c3' into 'master'
example/controller_hci_uart_esp32c3: fixed the incorrect GPIO pin bit mask for input PINs of UART1 See merge request espressif/esp-idf!14458
This commit is contained in:
commit
dcefc4d6f7
@ -179,7 +179,7 @@ static void uart_gpio_set(void)
|
||||
gpio_config_t io_input_conf = {
|
||||
.intr_type = GPIO_PIN_INTR_DISABLE, //disable interrupt
|
||||
.mode = GPIO_MODE_INPUT, // input mode
|
||||
.pin_bit_mask = GPIO_OUTPUT_PIN_SEL, // bit mask of the input pins
|
||||
.pin_bit_mask = GPIO_INPUT_PIN_SEL, // bit mask of the input pins
|
||||
.pull_down_en = 0, // disable pull-down mode
|
||||
.pull_up_en = 0, // disable pull-down mode
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user