Is your feature request related to a problem? Please describe.
Not really clear/consistent on OS_SetLocalTime and OS_GetLocalTime in relation to OSAL_GETTIME_SOURCE_CLOCK. Currently defaulted to CLOCK_MONOTONIC, so a OS_SetLocalTime may fail. Really need to clarify intent of the design/APIs to be more clear on how they should be used since the OSAL_GETTIME_SOURCE_CLOCK is used in both and the setting has different impacts in the different contexts.
Describe the solution you'd like
May benefit from individual configuration parameters, or maybe OS_SetLocalTime should never be CLOCK_MONOTONIC. Add a bit more context to API/configuration documentation. Use cases?
Describe alternatives you've considered
Anything to clarify/explain intent.
Additional context
Debated "bug", could switch.
Requester Info
Jacob Hageman - NASA/GSFC, OSAL code review