From 70aedc85a4fb50e6109560a469439550de306086 Mon Sep 17 00:00:00 2001 From: gongyantao Date: Wed, 1 Nov 2023 20:17:48 +0800 Subject: [PATCH] fix(bt/bluedroid): fix loadprohibited error in spp vfs acceptor example --- .../bluedroid/classic_bt/bt_spp_vfs_acceptor/main/spp_task.c | 2 +- .../bluedroid/classic_bt/bt_spp_vfs_initiator/main/spp_task.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_acceptor/main/spp_task.c b/examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_acceptor/main/spp_task.c index 47cbbd0ce502..f944aa729e66 100644 --- a/examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_acceptor/main/spp_task.c +++ b/examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_acceptor/main/spp_task.c @@ -112,7 +112,7 @@ void spp_task_task_shut_down(void) void spp_wr_task_start_up(spp_wr_task_cb_t p_cback, int fd) { - xTaskCreate(p_cback, "write_read", 2048, (void *)fd, 5, NULL); + xTaskCreate(p_cback, "write_read", 4096, (void *)fd, 5, NULL); } void spp_wr_task_shut_down(void) { diff --git a/examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_initiator/main/spp_task.c b/examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_initiator/main/spp_task.c index 47cbbd0ce502..f944aa729e66 100644 --- a/examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_initiator/main/spp_task.c +++ b/examples/bluetooth/bluedroid/classic_bt/bt_spp_vfs_initiator/main/spp_task.c @@ -112,7 +112,7 @@ void spp_task_task_shut_down(void) void spp_wr_task_start_up(spp_wr_task_cb_t p_cback, int fd) { - xTaskCreate(p_cback, "write_read", 2048, (void *)fd, 5, NULL); + xTaskCreate(p_cback, "write_read", 4096, (void *)fd, 5, NULL); } void spp_wr_task_shut_down(void) {