Skip to content

Commit 902245c

Browse files
committed
Update BLEDevice.cpp
-Bug fix for BLE examples. Increase stack size for stability.
1 parent 280b77c commit 902245c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Arduino_package/hardware/libraries/BLE/src/BLEDevice.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ void BLEDevice::beginPeripheral() {
265265
if (BTDEBUG) printf("GAP cb reg\r\n");
266266

267267
// start BLE main task to handle IO and GAP msg
268-
os_task_create(&_appTaskHandle, "BLE_Peripheral_Task", BLEMainTask, 0, 256*4, 1);
268+
os_task_create(&_appTaskHandle, "BLE_Peripheral_Task", BLEMainTask, 0, 512*4, 1);
269269
if (BTDEBUG) printf("Task create\r\n");
270270

271271
bt_coex_init();

0 commit comments

Comments
 (0)