arch/espressif: Fix esp32c6 strange characters on boot

This commit is contained in:
Eren Terzioglu 2024-03-19 14:53:49 +03:00 committed by Xiang Xiao
parent d808ed450c
commit cfcedab76b

View File

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