diff --git a/include/nuttx/sched.h b/include/nuttx/sched.h index 6ecae9c86f3..2fef9237b4b 100644 --- a/include/nuttx/sched.h +++ b/include/nuttx/sched.h @@ -486,7 +486,7 @@ struct tcb_s #endif #ifdef CONFIG_SCHED_SPORADIC uint8_t low_priority; /* Sporadic low priority */ - uint8_t max_repl; /* Max. replenishments */ + uint8_t max_repl; /* Max. replenishments */ #endif uint8_t task_state; /* Current state of the thread */ diff --git a/include/pthread.h b/include/pthread.h index 7a7f1a4ec20..d65f6d50804 100644 --- a/include/pthread.h +++ b/include/pthread.h @@ -168,10 +168,10 @@ struct pthread_attr_s { uint8_t priority; /* Priority of the pthread */ uint8_t policy; /* Pthread scheduler policy */ - uint8_t inheritsched; /* Inherit parent prio/policy? */ + uint8_t inheritsched; /* Inherit parent priority/policy? */ #ifdef CONFIG_SCHED_SPORADIC - uint8_t low_priority; /* Low scheduling priority*/ + uint8_t low_priority; /* Low scheduling priority */ uint8_t max_repl; /* Maximum pending replenishments */ #endif diff --git a/include/spawn.h b/include/spawn.h index 59abfdf11d9..19b0c245016 100644 --- a/include/spawn.h +++ b/include/spawn.h @@ -103,10 +103,9 @@ struct posix_spawnattr_s #endif #ifdef CONFIG_SCHED_SPORADIC - struct timespec repl_period; /* Replenishment period */ - struct timespec budget; /* Initial budget */ + struct timespec repl_period; /* Replenishment period */ + struct timespec budget; /* Initial budget */ #endif - }; typedef struct posix_spawnattr_s posix_spawnattr_t;