mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-25 05:27:16 +08:00
Do not define CONFIGURE_TICKS_PER_TIMESLICE to 0
Unconditionally make a CONFIGURE_TICKS_PER_TIMESLICE value less than or equal to zero an error. Update #4986.
This commit is contained in:
@@ -70,8 +70,7 @@
|
||||
#warning "The clock ticks per second is not an integer"
|
||||
#endif
|
||||
|
||||
#if defined(CONFIGURE_APPLICATION_NEEDS_CLOCK_DRIVER) \
|
||||
&& defined(CONFIGURE_TICKS_PER_TIMESLICE) \
|
||||
#if defined(CONFIGURE_TICKS_PER_TIMESLICE) \
|
||||
&& CONFIGURE_TICKS_PER_TIMESLICE <= 0
|
||||
#error "CONFIGURE_TICKS_PER_TIMESLICE shall be greater than zero"
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user