Skip to content

Commit 50318a0

Browse files
committed
Update TI BLE Manager task priority for initialization sequence
1 parent 09925c3 commit 50318a0

File tree

3 files changed

+4129
-3
lines changed

3 files changed

+4129
-3
lines changed

src/platform/cc13xx_26xx/BLEManagerImpl.cpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ void BLEManagerImpl::EventHandler_init(void)
521521
/* set the stacks in default states */
522522
DMMPolicy_updateStackState(DMMPolicy_StackRole_BlePeripheral, DMMPOLICY_BLE_IDLE);
523523

524-
vTaskPrioritySet(xTaskGetCurrentTaskHandle(), 3);
524+
vTaskPrioritySet(xTaskGetCurrentTaskHandle(), BLE_MANAGER_TASK_PRIORITY);
525525

526526
// ******************************************************************
527527
// N0 STACK API CALLS CAN OCCUR BEFORE THIS CALL TO ICall_registerApp
@@ -634,7 +634,7 @@ CHIP_ERROR BLEManagerImpl::CreateEventHandler(void)
634634
"ble_hndlr", /* Text name for the task. */
635635
BLEMANAGER_EVENT_HANDLER_STACK_SIZE, /* Stack size in words, not bytes. */
636636
this, /* Parameter passed into the task. */
637-
ICALL_TASK_PRIORITIES, /* Keep priority the same as ICALL until init is complete */
637+
BLE_STACK_TASK_PRIORITY, /* Keep priority the same as ICALL until init is complete */
638638
NULL); /* Used to pass out the created task's handle. */
639639

640640
if (xReturned == errCOULD_NOT_ALLOCATE_REQUIRED_MEMORY)

0 commit comments

Comments
 (0)