Skip to content

Inconsistent OS_MAX_MODULE limit/documentation #882

@skliper

Description

@skliper

Is your feature request related to a problem? Please describe.
Comments don't match check:

/*
* 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.
*/
#if !defined(OS_MAX_MODULES) || (OS_MAX_MODULES <= 0)
#error "osconfig.h must define OS_MAX_MODULES to a valid value"
#endif

Describe the solution you'd like
Fix implementation (if needed), fix comments (if needed)

Describe alternatives you've considered
None

Additional context
None

Requester Info
Jacob Hageman - NASA/GSFC, OSAL code review

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions