bt_uart_shim: Don't hardcode the thread stack size
so let's change 1024 to CONFIG_DEFAULT_TASKSIZE Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
parent
c0cd125bf3
commit
8ce2d376cc
@ -480,7 +480,8 @@ FAR struct btuart_lowerhalf_s *bt_uart_shim_getdevice(FAR const char *path)
|
||||
|
||||
s->serialmontask = kthread_create("BT HCI Rx",
|
||||
CONFIG_BLUETOOTH_TXCONN_PRIORITY,
|
||||
1024, hcicollecttask, argv);
|
||||
CONFIG_DEFAULT_TASK_STACKSIZE,
|
||||
hcicollecttask, argv);
|
||||
|
||||
return (FAR struct btuart_lowerhalf_s *)n;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user