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:
Xiang Xiao 2020-12-27 17:31:31 +08:00 committed by Alin Jerpelea
parent c0cd125bf3
commit 8ce2d376cc

View File

@ -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;
}