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.
OS_DebugPrintf checks the level and doesn't do the work, but the caller still sets up the variable arguments. It's better to have a table of function pointers that change when the level changes to either the debug printf or a no-op.
Is your feature request related to a problem? Please describe.
OS_DebugPrintf checks the level and doesn't do the work, but the caller still sets up the variable arguments. It's better to have a table of function pointers that change when the level changes to either the debug printf or a no-op.
osal/src/os/shared/inc/os-shared-globaldefs.h
Lines 83 to 87 in ead5723
Describe the solution you'd like
Table of function pointers
Describe alternatives you've considered
Leave as-is (future work), this is debug code which wouldn't typically be included in production
Additional context
None
Requester Info
Jacob Hageman - NASA/GSFC, OSAL code review
The text was updated successfully, but these errors were encountered: