From f2448d6dc37d18386b31b7579d868e67e49d1e21 Mon Sep 17 00:00:00 2001 From: bogd Date: Tue, 5 Dec 2023 16:24:13 +0200 Subject: [PATCH] fixed passing uart num to gsm driver --- src/GSMTransport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/GSMTransport.c b/src/GSMTransport.c index 1a1c93c..b2c8ab9 100644 --- a/src/GSMTransport.c +++ b/src/GSMTransport.c @@ -176,7 +176,7 @@ static void GSMInitTask(void *pvParameter) /* Configure the DTE */ esp_modem_dte_config_t dte_config = ESP_MODEM_DTE_DEFAULT_CONFIG(); /* setup UART specific configuration based on kconfig options */ - //dte_config.uart_config.port_num = CONFIG_MODEM_UART_PORT_NUM; + dte_config.uart_config.port_num = CONFIG_MODEM_UART_PORT_NUM; dte_config.uart_config.tx_io_num = CONFIG_MODEM_UART_TX_PIN; dte_config.uart_config.rx_io_num = CONFIG_MODEM_UART_RX_PIN; dte_config.uart_config.rts_io_num = CONFIG_MODEM_UART_RTS_PIN;