Skip to content

Commit

Permalink
Increase thread memory for uart
Browse files Browse the repository at this point in the history
  • Loading branch information
bettse committed Jul 24, 2024
1 parent 77ab28f commit 7239664
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ int32_t seader_uart_worker(void* context) {
seader_uart->tx_sem = furi_semaphore_alloc(1, 1);

seader_uart->tx_thread =
furi_thread_alloc_ex("SeaderUartTxWorker", 2 * 1024, seader_uart_tx_thread, seader);
furi_thread_alloc_ex("SeaderUartTxWorker", 3 * 1024, seader_uart_tx_thread, seader);

seader_uart_serial_init(seader_uart, seader_uart->cfg.uart_ch);
seader_uart_set_baudrate(seader_uart, seader_uart->cfg.baudrate);
Expand Down Expand Up @@ -162,7 +162,7 @@ SeaderUartBridge* seader_uart_enable(SeaderUartConfig* cfg, Seader* seader) {
memcpy(&(seader_uart->cfg_new), cfg, sizeof(SeaderUartConfig));

seader_uart->thread =
furi_thread_alloc_ex("SeaderUartWorker", 4 * 1024, seader_uart_worker, seader);
furi_thread_alloc_ex("SeaderUartWorker", 5 * 1024, seader_uart_worker, seader);

furi_thread_start(seader_uart->thread);
return seader_uart;
Expand Down

0 comments on commit 7239664

Please sign in to comment.