Skip to content

Commit

Permalink
fix: assert failed in example uart_async_rxtxtasks
Browse files Browse the repository at this point in the history
  • Loading branch information
DYFeng committed Nov 4, 2023
1 parent b4268c8 commit b8a3141
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

1 comment on commit b8a3141

@AzezurRehman
Copy link

@AzezurRehman AzezurRehman commented on b8a3141 Dec 26, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i am facing these error ""E (348) uart: uart_set_pin(646): tx_io_num error"""for these example please tell me how to over come these ..even i am changed correct tx and rx pins

Please sign in to comment.