diff options
author | XVSALGE <aleksandar.gerasimovski@seavus.com> | 2012-02-22 08:14:11 +0100 |
---|---|---|
committer | Viktor Mladenovski <viktor.mladenovski@seavus.com> | 2012-05-25 14:44:00 +0200 |
commit | 9dc2897fef041426347e80385707b7c86324c63e (patch) | |
tree | b7525770a2da28553426465f47a6d65efaa22c3b /lcmodule/source/cnh1606344_ldr_communication_module/config/command_ids_h.xsl | |
parent | 828be7d08c886347641d8bba675993caf5a13d1a (diff) |
Sync lcm with CC source
Synchronize loader_communication with clearcase source
ST-Ericsson ID: 413947
ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10204
Change-Id: Ib23b84360b351a2598190d9d6b510895cc892436
Depends-On: I4b049943fc2acc63ed5f94dff6d4bc0e36fde1cf
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/48934
Reviewed-by: QABUILD
Reviewed-by: QATEST
Reviewed-by: Zoran ANCEVSKI <zoran.ancevski@seavus.com>
Tested-by: Aleksandar GASOSKI <aleksandar.gasoski@seavus.com>
Tested-by: Cvetko MLADENOVSKI <cvetko.mladenovski@seavus.com>
Reviewed-by: Vlatko PISTOLOV <vlatko.pistolov@seavus.com>
Tested-by: Vlatko PISTOLOV <vlatko.pistolov@seavus.com>
Diffstat (limited to 'lcmodule/source/cnh1606344_ldr_communication_module/config/command_ids_h.xsl')
-rw-r--r-- | lcmodule/source/cnh1606344_ldr_communication_module/config/command_ids_h.xsl | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/lcmodule/source/cnh1606344_ldr_communication_module/config/command_ids_h.xsl b/lcmodule/source/cnh1606344_ldr_communication_module/config/command_ids_h.xsl index 325b598..f0fd533 100644 --- a/lcmodule/source/cnh1606344_ldr_communication_module/config/command_ids_h.xsl +++ b/lcmodule/source/cnh1606344_ldr_communication_module/config/command_ids_h.xsl @@ -19,6 +19,7 @@ #ifndef _COMMAND_IDS_H #define _COMMAND_IDS_H #include "t_basicdefinitions.h" +<apply-templates select="group/command" mode="define"/> TYPEDEF_ENUM { <apply-templates select="group" mode="id"/>} ENUM8(GroupId_e); @@ -38,15 +39,15 @@ typedef struct <value-of select="interface/@name" />_s { <template match="value"> <text> </text> <choose> - <when test="@type='uint64'"> - <value-of select="@type" /><text> </text><value-of select="@name" />; /**< <value-of select="text()" /> */ - </when> <when test="@type='string'"> char *<text></text><value-of select="@name" />; /**< <value-of select="text()" /> */ </when> <when test="@type='uint32'"> <value-of select="@type" /><text> </text><value-of select="@name" />; /**< <value-of select="text()" /> */ </when> + <when test="@type='uint64'"> + <value-of select="@type" /><text> </text><value-of select="@name" />; /**< <value-of select="text()" /> */ + </when> </choose> <if test="position() = last()"><text></text> </if> @@ -82,4 +83,12 @@ typedef struct <value-of select="interface/@name" />_s { </if> </template> +<template match="command" mode="define"> +<variable name="group" select="../@number"/> +<variable name="command" select="@number"/> +<if test='$target="lcm" or $supported_commands/group[@number=$group]/command[@number=$command]'> +#define <call-template name="commandsupported"/> +</if> +</template> + </stylesheet> |