fix: assert failed in example uart_async_rxtxtasks

This commit is contained in:
Ngai-Fung Yip 2023-11-04 08:48:57 +08:00 committed by Song Ruo Jing
parent 793de30863
commit 90f7b0d321

View File

@ -72,6 +72,6 @@ static void rx_task(void *arg)
void app_main(void)
{
init();
xTaskCreate(rx_task, "uart_rx_task", 1024 * 2, NULL, configMAX_PRIORITIES, NULL);
xTaskCreate(tx_task, "uart_tx_task", 1024 * 2, NULL, configMAX_PRIORITIES - 1, NULL);
xTaskCreate(rx_task, "uart_rx_task", 1024 * 2, NULL, configMAX_PRIORITIES - 1, NULL);
xTaskCreate(tx_task, "uart_tx_task", 1024 * 2, NULL, configMAX_PRIORITIES - 2, NULL);
}