File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ static bool is_posix_policy_prio_valid(uint32_t priority, int policy)
222
222
return true;
223
223
}
224
224
225
- LOG_ERR ("Invalid piority %d and / or policy %d" , priority , policy );
225
+ LOG_ERR ("Invalid priority %d and / or policy %d" , priority , policy );
226
226
227
227
return false;
228
228
}
@@ -242,7 +242,7 @@ static uint32_t zephyr_to_posix_priority(int32_t z_prio, int *policy)
242
242
static int32_t posix_to_zephyr_priority (uint32_t priority , int policy )
243
243
{
244
244
if (policy == SCHED_FIFO ) {
245
- /* COOP: highest [CONFIG_NUM_COOP_PRIORITIES, -1] lowest */
245
+ /* COOP: highest [- CONFIG_NUM_COOP_PRIORITIES, -1] lowest */
246
246
__ASSERT_NO_MSG (priority < CONFIG_NUM_COOP_PRIORITIES );
247
247
} else {
248
248
/* PREEMPT: lowest [0, CONFIG_NUM_PREEMPT_PRIORITIES - 1] highest */
You can’t perform that action at this time.
0 commit comments