<div dir="ltr"><div>ping</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 8 Mar 2024 at 22:03, <<a href="mailto:zakthertemsdev@gmail.com">zakthertemsdev@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">From: Zack leung <<a href="mailto:z.liang111@gmail.com" target="_blank">z.liang111@gmail.com</a>><br>
<br>
---<br>
cpukit/doxygen/appl-config.h | 3 +--<br>
cpukit/include/rtems/confdefs/clock.h | 4 ++++<br>
2 files changed, 5 insertions(+), 2 deletions(-)<br>
<br>
diff --git a/cpukit/doxygen/appl-config.h b/cpukit/doxygen/appl-config.h<br>
index bd7cde628f..f843ebbd39 100644<br>
--- a/cpukit/doxygen/appl-config.h<br>
+++ b/cpukit/doxygen/appl-config.h<br>
@@ -3312,8 +3312,7 @@<br>
* @parblock<br>
* The following constraints apply to this configuration option:<br>
*<br>
- * * The value of the configuration option shall be greater than or equal to<br>
- * zero.<br>
+ * * The value of the configuration option shall be greater than zero. <br>
*<br>
* * The value of the configuration option shall be less than or equal to <a<br>
* href="<a href="https://en.cppreference.com/w/c/types/integer" rel="noreferrer" target="_blank">https://en.cppreference.com/w/c/types/integer</a>">UINT32_MAX</a>.<br>
diff --git a/cpukit/include/rtems/confdefs/clock.h b/cpukit/include/rtems/confdefs/clock.h<br>
index 26519cc70b..bb6c7e0b68 100644<br>
--- a/cpukit/include/rtems/confdefs/clock.h<br>
+++ b/cpukit/include/rtems/confdefs/clock.h<br>
@@ -70,6 +70,10 @@<br>
#warning "The clock ticks per second is not an integer"<br>
#endif<br>
<br>
+#if defined(CONFIGURE_TICKS_PER_TIMESLICE) && CONFIGURE_TICKS_PER_TIMESLICE <= 0<br>
+ #error "CONFIGURE_TICKS_PER_TIMESLICE shall be greater than zero"<br>
+#endif<br>
+<br>
#if CONFIGURE_MICROSECONDS_PER_TICK <= 0<br>
#error "CONFIGURE_MICROSECONDS_PER_TICK must be positive"<br>
#endif<br>
-- <br>
2.43.0<br>
<br>
</blockquote></div>