mirror of
https://github.com/apache/nuttx.git
synced 2026-06-07 09:18:00 +08:00
Sporadic scheduler: Fix how suspension time is calculated
This commit is contained in:
@@ -273,10 +273,7 @@ struct sporadic_s
|
||||
uint8_t nrepls; /* Number of active replenishments */
|
||||
uint32_t repl_period; /* Sporadic replenishment period */
|
||||
uint32_t budget; /* Sporadic execution budget period */
|
||||
|
||||
#ifdef CONFIG_SCHED_TICKLESS
|
||||
struct timespec sched_time; /* Time in ticks last processed */
|
||||
#endif
|
||||
uint32_t eventtime; /* Time thread suspended or [re-]started */
|
||||
|
||||
/* This is the last interval timer activated */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user