Skip to content

Commit

Permalink
Fix version string definition and comment
Browse files Browse the repository at this point in the history
  • Loading branch information
astrogeco authored and Gerardo E. Cruz-Ortiz committed Jul 15, 2020
1 parent 35e5a86 commit 0f22a8b
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions src/os/inc/osapi-version.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
*
* Purpose:
* The OSAL version numbers
* See cfe documentation for version and build number descriptions
*/

#ifndef _osapi_version_h_
Expand All @@ -34,13 +35,12 @@
#define OS_BUILDNUMBER 233 /* Number of commits since baseline */

/* Baseling git tag + Number of commits since baseline */ \
#define OS_VERSION "5.0.0+dev" OS_STR(ELF2CFETBL_BUILDNUMBER)

#define OS_VERSION_STRING "osal development build \n" OS_VERSION
" (Codename: Bootes)" /* Codename for current development */
"\n\nCompiled on " __DATE__ __TIME__
"\n\nLatest Official Version: osal v5.0.0\n" /* For full support please use this version */
#define OS_VERSION "v5.0.0+dev" OS_STR(OS_BUILDNUMBER)

#define OS_VERSION_STRING \
" OSAL Development Build\n " \
OS_VERSION " (Codename: Bootes)" /* Codename for current development */ \
"\n Latest Official Version: osal v5.0.0" /* For full support please use this version */

/*
* Macro Definitions
Expand All @@ -61,7 +61,6 @@
*/

/*
/**
* Combine the revision components into a single value that application code can
check against
* e.g. "#if OSAL_API_VERSION >= 40100" would check if some feature added in
Expand Down

0 comments on commit 0f22a8b

Please sign in to comment.