why custs1_init of ble_app_peripheral entered twice?
I'm testing ble_app_peripheral. And I add some debug info to uart2 use arch_printf as flows.
+++add a printf count++
static int count=0;
void custs1_init(void)
{
// Reset environment
memset(&custs1_env, 0, sizeof(custs1_env));
// Create CUSTS1 task
ke_task_create(TASK_CUSTS1, &TASK_DESC_CUSTS1);
// Set task in disabled state
ke_state_set(TASK_CUSTS1, CUSTS1_DISABLED);