-
Notifications
You must be signed in to change notification settings - Fork 253
Labels
Milestone
Description
Is your feature request related to a problem? Please describe.
OS_API_Init writes error to the syslog and returns error if called multiple times. Doesn't really cause any issues, could just write to the syslog and return success.
osal/src/os/shared/src/osapi-common.c
Lines 115 to 119 in ead5723
| if (OS_SharedGlobalVars.Initialized != false) | |
| { | |
| OS_DEBUG("WARNING: BUG - initialization function called multiple times\n"); | |
| return OS_ERROR; | |
| } |
Describe the solution you'd like
Consider returning success
Describe alternatives you've considered
Leave as-is (future work)
Additional context
None
Requester Info
Jacob Hageman - NASA/GSFC, OSAL code review
Reactions are currently unavailable