serial: uart_bt: set the workqueue thread name
Set the bt_uart workqueue name so it does not show up as a mystery thread on the thread list. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>
This commit is contained in:
parent
d79e9e7d3a
commit
0a14cc21cc
@ -311,6 +311,7 @@ static int uart_bt_workqueue_init(void)
|
||||
k_work_queue_start(&nus_work_queue, nus_work_queue_stack,
|
||||
K_THREAD_STACK_SIZEOF(nus_work_queue_stack),
|
||||
CONFIG_UART_BT_WORKQUEUE_PRIORITY, NULL);
|
||||
k_thread_name_set(&nus_work_queue.thread, "uart_bt");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user