Skip to content

Commit

Permalink
Update TI BLE Manager task priority for initialization sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
adabreuti committed Aug 7, 2024
1 parent 09925c3 commit 50318a0
Show file tree
Hide file tree
Showing 3 changed files with 4,129 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/platform/cc13xx_26xx/BLEManagerImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ void BLEManagerImpl::EventHandler_init(void)
/* set the stacks in default states */
DMMPolicy_updateStackState(DMMPolicy_StackRole_BlePeripheral, DMMPOLICY_BLE_IDLE);

vTaskPrioritySet(xTaskGetCurrentTaskHandle(), 3);
vTaskPrioritySet(xTaskGetCurrentTaskHandle(), BLE_MANAGER_TASK_PRIORITY);

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

if (xReturned == errCOULD_NOT_ALLOCATE_REQUIRED_MEMORY)
Expand Down
Loading

0 comments on commit 50318a0

Please sign in to comment.