BXE_MAX_PRIORITY
for (pri = 0; pri < BXE_MAX_PRIORITY; pri++) {
uint8_t prio_to_cos[BXE_MAX_PRIORITY];