mirror of
https://github.com/apache/nuttx.git
synced 2026-08-17 18:28:25 +00:00
arch/espressif: Fix esp32c6 strange characters on boot
This commit is contained in:
parent
d808ed450c
commit
cfcedab76b
1 changed files with 3 additions and 3 deletions
|
|
@ -263,12 +263,12 @@ void esp_lowputc_config_pins(const struct esp_uart_s *priv)
|
|||
{
|
||||
/* Configure the pins */
|
||||
|
||||
esp_configgpio(priv->txpin, OUTPUT);
|
||||
esp_gpio_matrix_out(priv->txpin, priv->txsig, 0, 0);
|
||||
|
||||
esp_configgpio(priv->rxpin, INPUT | PULLUP);
|
||||
esp_gpio_matrix_in(priv->rxpin, priv->rxsig, 0);
|
||||
|
||||
esp_configgpio(priv->txpin, OUTPUT);
|
||||
esp_gpio_matrix_out(priv->txpin, priv->txsig, 0, 0);
|
||||
|
||||
#ifdef CONFIG_SERIAL_IFLOWCONTROL
|
||||
if (priv->iflow)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue