From 7a31e37da496908113bcd0a8f4898e25d2838c41 Mon Sep 17 00:00:00 2001 From: Joseph Hickey Date: Mon, 15 Mar 2021 08:44:33 -0400 Subject: [PATCH] Fix #882, make module comment same as other services --- src/os/shared/src/osapi-module.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/os/shared/src/osapi-module.c b/src/os/shared/src/osapi-module.c index fd24962d1..23ddc0126 100644 --- a/src/os/shared/src/osapi-module.c +++ b/src/os/shared/src/osapi-module.c @@ -48,10 +48,7 @@ /* * Sanity checks on the user-supplied configuration - * The relevent OS_MAX limit should be defined - * - * OS_MAX_MODULES is allowed to be zero in which case the - * table is not instantiated. + * The relevent OS_MAX limit should be defined and greater than zero */ #if !defined(OS_MAX_MODULES) || (OS_MAX_MODULES <= 0) #error "osconfig.h must define OS_MAX_MODULES to a valid value"