Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #821, add accessor functions for version strings #824

Merged

Commits on Mar 2, 2021

  1. Fix nasa#821, add accessor functions for version strings

    Adds 4 version API calls:
    
    const char *OS_GetVersionString(void);
    const char *OS_GetVersionCodeName(void);
    void OS_GetVersionNumber(uint8[4]);
    uint32 OS_GetBuildNumber(void);
    
    These return the values of current macros in osapi-version.h.
    
    The accessor function should be the preferred way to get the OSAL version
    info (vs. using macro directly) as it is evaluated at OSAL library
    compile time, rather than application compile time, and thus will
    remain correct in the event that OSAL is relinked without recompiling
    the application.
    jphickey committed Mar 2, 2021
    Configuration menu
    Copy the full SHA
    6197a52 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    7c47365 View commit details
    Browse the repository at this point in the history