[PATCH] improved error checking in ticks per timeslice
Sebastian Huber
sebastian.huber at embedded-brains.de
Tue Feb 27 07:08:06 UTC 2024
On 19.02.24 03:13, zakthertemsdev at gmail.com wrote:
> +#if defined(CONFIGURE_TICKS_PER_TIMESLICE)
> + #if CONFIGURE_TICKS_PER_TIMESLICE <= 0
> + #error "CONFIGURE_TICKS_PER_TIMESLICE shall be greater than zero"
> + #endif
> +#endif
This should be
#if defined(CONFIGURE_TICKS_PER_TIMESLICE) &&
CONFIGURE_TICKS_PER_TIMESLICE <= 0
from my point of view. Just check the style of the related header files
for a reference.
--
embedded brains GmbH & Co. KG
Herr Sebastian HUBER
Dornierstr. 4
82178 Puchheim
Germany
email: sebastian.huber at embedded-brains.de
phone: +49-89-18 94 741 - 16
fax: +49-89-18 94 741 - 08
Registergericht: Amtsgericht München
Registernummer: HRB 157899
Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler
Unsere Datenschutzerklärung finden Sie hier:
https://embedded-brains.de/datenschutzerklaerung/
More information about the devel
mailing list