From 0d2cf007fbc852d2b9a745d792f7d4626dbe14f6 Mon Sep 17 00:00:00 2001 From: Alexander Wenzel Date: Fri, 28 Oct 2011 10:37:08 +0200 Subject: Reverted changes in dlt_register_app() function. Added new dlt_check_library_version() function. --- include/dlt/dlt_user_macros.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/dlt/dlt_user_macros.h') diff --git a/include/dlt/dlt_user_macros.h b/include/dlt/dlt_user_macros.h index 979026a..c9b19c9 100755 --- a/include/dlt/dlt_user_macros.h +++ b/include/dlt/dlt_user_macros.h @@ -115,7 +115,8 @@ extern DltContext CONTEXT; * @param DESCRIPTION ASCII string containing description */ #define DLT_REGISTER_APP(APPID,DESCRIPTION) \ - dlt_register_app( APPID, DESCRIPTION, PACKAGE_MAJOR_VERSION, PACKAGE_MINOR_VERSION ); + dlt_check_library_version(PACKAGE_MAJOR_VERSION, PACKAGE_MINOR_VERSION ); \ + dlt_register_app( APPID, DESCRIPTION); /** -- cgit v1.2.1