You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe. CFE_RESOURCEID_MAX is used in some places as MAX and others as a mask, also has to be power of 2 - 1:
Add a compile time assert to ensure that this value is
actually a power of two-1. Notes in the comments that
it serves as both a numeric limit and a mask.
Add a compile time assert to ensure that this value is
actually a power of two-1. Notes in the comments that
it serves as both a numeric limit and a mask.
Is your feature request related to a problem? Please describe.
CFE_RESOURCEID_MAX
is used in some places as MAX and others as a mask, also has to be power of 2 - 1:cFE/modules/resourceid/fsw/src/cfe_resourceid_api.c
Line 52 in e80aae9
Describe the solution you'd like
Document and verify
Describe alternatives you've considered
None
Additional context
Code review
Requester Info
Jacob Hageman - NASA/GSFC
The text was updated successfully, but these errors were encountered: