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:
Sebastian Huber
2024-03-20 10:52:16 +01:00
parent 9e0bcd4fc7
commit d62f299b34
65 changed files with 2 additions and 66 deletions
+1 -2
View File
@@ -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