Skip to content

Commit

Permalink
Ticket #293 Rejected
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.code.sf.net/p/tcnopen/trdp/trunk@2145 3b5a3598-5f4e-4449-9e63-bd40438bfec0
  • Loading branch information
bloehr committed Jan 9, 2020
1 parent c3918c4 commit 505329e
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
7 changes: 4 additions & 3 deletions trdp/src/common/tlc_if.c
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,8 @@ EXT_DECL TRDP_ERR_T tlc_presetIndexSession (
}
#else

appHandle = appHandle; /* lint !e550 return value not used */
appHandle = appHandle; /* lint !e550 parameter not used */
pIndexTableSizes = pIndexTableSizes; /* lint !e550 parameter not used */

#endif

Expand Down Expand Up @@ -1445,11 +1446,11 @@ EXT_DECL TRDP_ERR_T tlc_process (
*/
EXT_DECL const char *tlc_getVersionString (void)
{
static CHAR8 version[16];
static CHAR8 version[32];

(void) vos_snprintf(version,
sizeof(version),
"%d.%d.%d.%d",
"%d.%d.%d.%d $Rev$",
TRDP_VERSION,
TRDP_RELEASE,
TRDP_UPDATE,
Expand Down
11 changes: 7 additions & 4 deletions trdp/src/common/trdp_private.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
/*
* $Id$
*
* BL 2020-01-09: Ticket #293 Rejected! Use the function in tlc_if.c & add SVN Rev.
* AÖ 2019-11-14: Ticket #293 Add version to TCNOpen dll <-- !!! should be rejected! Use the function in tlc_if.c !!!
* SB 2019-08-15: Ticket #269: tau_initTTI: leave standard MC fails
* BL 2019-06-17: Ticket #264 Provide service oriented interface
Expand Down Expand Up @@ -59,13 +60,15 @@
/* The TRDP version can be predefined as CFLAG */
#ifndef TRDP_VERSION
#define TRDP_VERSION 2u
#define TRDP_RELEASE 0u
#define TRDP_UPDATE 3u
#define TRDP_EVOLUTION 0u /* Evolution > 0 denotes trunk! */
#define TRDP_RELEASE 1u
#define TRDP_UPDATE 0u
#define TRDP_EVOLUTION 1u /* Evolution > 0 denotes trunk! */
#endif

/* Version as a string, this can also be for example 1.2.3.4.RC1 */
#define TRDP_VERSION_STR "2.0.3.0"
EXT_DECL const CHAR8 *tlc_getVersionString (void);

#define TRDP_VERSION_STR tlc_getVersionStr()

#ifdef HIGH_PERF_INDEXED
# define TRDP_TIMER_GRANULARITY 500u /**< granularity in us - we allow 0.5ms now! */
Expand Down

0 comments on commit 505329e

Please sign in to comment.