diff options
Diffstat (limited to 'examples/org.eclipse.etrice.generator.c.reference/src-gen/cGenRef/CommunicationProtocol.c')
-rw-r--r-- | examples/org.eclipse.etrice.generator.c.reference/src-gen/cGenRef/CommunicationProtocol.c | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/examples/org.eclipse.etrice.generator.c.reference/src-gen/cGenRef/CommunicationProtocol.c b/examples/org.eclipse.etrice.generator.c.reference/src-gen/cGenRef/CommunicationProtocol.c deleted file mode 100644 index 22bc04cec..000000000 --- a/examples/org.eclipse.etrice.generator.c.reference/src-gen/cGenRef/CommunicationProtocol.c +++ /dev/null @@ -1,21 +0,0 @@ -#include "CommunicationProtocol.h" - -/*--------------------- port classes */ - - - -/*--------------------- debug helpers */ - -/* TODO: make this optional or different for smaller footprint */ -/* message names as strings for debugging (generate MSC) */ -static const char* CommunicationProtocol_messageStrings[] = {"MIN", "receivedData","sendData", "sendData2", "MAX"}; - -const char* CommunicationProtocol_getMessageString(int msg_id) { - if (msg_id<CommunicationProtocol_MSG_MIN || msg_id>CommunicationProtocol_MSG_MAX+1){ - /* id out of range */ - return "Message ID out of range"; - } - else{ - return CommunicationProtocol_messageStrings[msg_id]; - } -} |