mirror of
https://github.com/Martin-P/OpenV2G.git
synced 2024-11-08 12:45:42 +00:00
fix issue with #defines pointing to wrong ISO version (ISO2 instead of ISO1)
git-svn-id: https://svn.code.sf.net/p/openv2g/code/trunk@102 d9f2db14-54d0-4bde-b00c-16405c910529
This commit is contained in:
parent
e152daafc9
commit
7f084bb662
6 changed files with 22 additions and 22 deletions
|
@ -38,7 +38,7 @@
|
|||
#ifndef EXI_iso1_DATATYPES_C
|
||||
#define EXI_iso1_DATATYPES_C
|
||||
|
||||
#if DEPLOY_ISO2_CODEC == SUPPORT_YES
|
||||
#if DEPLOY_ISO1_CODEC == SUPPORT_YES
|
||||
|
||||
|
||||
void init_iso1EXIDocument(struct iso1EXIDocument* exiDoc) {
|
||||
|
@ -982,7 +982,7 @@ void init_iso1PhysicalValueType(struct iso1PhysicalValueType* iso1PhysicalValueT
|
|||
|
||||
|
||||
|
||||
#endif /* DEPLOY_ISO2_CODEC */
|
||||
#endif /* DEPLOY_ISO1_CODEC */
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -44,10 +44,10 @@ extern "C" {
|
|||
|
||||
#define SUPPORT_YES 1
|
||||
#define SUPPORT_NO 2
|
||||
#define DEPLOY_ISO2_CODEC SUPPORT_NO
|
||||
#define DEPLOY_ISO2_CODEC_FRAGMENT SUPPORT_YES
|
||||
#define DEPLOY_ISO1_CODEC SUPPORT_NO
|
||||
#define DEPLOY_ISO1_CODEC_FRAGMENT SUPPORT_YES
|
||||
|
||||
#if DEPLOY_ISO2_CODEC == SUPPORT_YES
|
||||
#if DEPLOY_ISO1_CODEC == SUPPORT_YES
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
@ -2922,7 +2922,7 @@ void init_iso1TransformType(struct iso1TransformType* iso1TransformType);
|
|||
void init_iso1PhysicalValueType(struct iso1PhysicalValueType* iso1PhysicalValueType);
|
||||
|
||||
|
||||
#endif /* DEPLOY_ISO2_CODEC */
|
||||
#endif /* DEPLOY_ISO1_CODEC */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
#ifndef EXI_iso1_DATATYPES_DECODER_C
|
||||
#define EXI_iso1_DATATYPES_DECODER_C
|
||||
|
||||
#if DEPLOY_ISO2_CODEC == SUPPORT_YES
|
||||
#if DEPLOY_ISO1_CODEC == SUPPORT_YES
|
||||
|
||||
/** event-code */
|
||||
static uint32_t eventCode;
|
||||
|
@ -15684,7 +15684,7 @@ int decode_iso1ExiDocument(bitstream_t* stream, struct iso1EXIDocument* exiDoc)
|
|||
return errn;
|
||||
}
|
||||
|
||||
#if DEPLOY_ISO2_CODEC_FRAGMENT == SUPPORT_YES
|
||||
#if DEPLOY_ISO1_CODEC_FRAGMENT == SUPPORT_YES
|
||||
int decode_iso1ExiFragment(bitstream_t* stream, struct iso1EXIFragment* exiFrag) {
|
||||
errn = readEXIHeader(stream);
|
||||
|
||||
|
@ -17762,10 +17762,10 @@ int decode_iso1ExiFragment(bitstream_t* stream, struct iso1EXIFragment* exiFrag)
|
|||
|
||||
return errn;
|
||||
}
|
||||
#endif /* DEPLOY_ISO2_CODEC_FRAGMENT */
|
||||
#endif /* DEPLOY_ISO1_CODEC_FRAGMENT */
|
||||
|
||||
|
||||
#endif /* DEPLOY_ISO2_CODEC */
|
||||
#endif /* DEPLOY_ISO1_CODEC */
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if DEPLOY_ISO2_CODEC == SUPPORT_YES
|
||||
#if DEPLOY_ISO1_CODEC == SUPPORT_YES
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
@ -51,11 +51,11 @@ extern "C" {
|
|||
|
||||
int decode_iso1ExiDocument(bitstream_t* stream, struct iso1EXIDocument* exiDoc);
|
||||
|
||||
#if DEPLOY_ISO2_CODEC_FRAGMENT == SUPPORT_YES
|
||||
#if DEPLOY_ISO1_CODEC_FRAGMENT == SUPPORT_YES
|
||||
int decode_iso1ExiFragment(bitstream_t* stream, struct iso1EXIFragment* exiFrag);
|
||||
#endif /* DEPLOY_ISO2_CODEC_FRAGMENT */
|
||||
#endif /* DEPLOY_ISO1_CODEC_FRAGMENT */
|
||||
|
||||
#endif /* DEPLOY_ISO2_CODEC */
|
||||
#endif /* DEPLOY_ISO1_CODEC */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
#ifndef EXI_iso1_DATATYPES_ENCODER_C
|
||||
#define EXI_iso1_DATATYPES_ENCODER_C
|
||||
|
||||
#if DEPLOY_ISO2_CODEC == SUPPORT_YES
|
||||
#if DEPLOY_ISO1_CODEC == SUPPORT_YES
|
||||
|
||||
static int errn;
|
||||
|
||||
|
@ -11383,7 +11383,7 @@ int encode_iso1ExiDocument(bitstream_t* stream, struct iso1EXIDocument* exiDoc)
|
|||
return errn;
|
||||
}
|
||||
|
||||
#if DEPLOY_ISO2_CODEC_FRAGMENT == SUPPORT_YES
|
||||
#if DEPLOY_ISO1_CODEC_FRAGMENT == SUPPORT_YES
|
||||
int encode_iso1ExiFragment(bitstream_t* stream, struct iso1EXIFragment* exiFrag) {
|
||||
errn = writeEXIHeader(stream);
|
||||
|
||||
|
@ -13243,10 +13243,10 @@ int encode_iso1ExiFragment(bitstream_t* stream, struct iso1EXIFragment* exiFrag)
|
|||
|
||||
return errn;
|
||||
}
|
||||
#endif /* DEPLOY_ISO2_CODEC_FRAGMENT */
|
||||
#endif /* DEPLOY_ISO1_CODEC_FRAGMENT */
|
||||
|
||||
|
||||
#endif /* DEPLOY_ISO2_CODEC */
|
||||
#endif /* DEPLOY_ISO1_CODEC */
|
||||
|
||||
#endif
|
||||
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#if DEPLOY_ISO2_CODEC == SUPPORT_YES
|
||||
#if DEPLOY_ISO1_CODEC == SUPPORT_YES
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
|
@ -52,12 +52,12 @@ extern "C" {
|
|||
|
||||
int encode_iso1ExiDocument(bitstream_t* stream, struct iso1EXIDocument* exiDoc);
|
||||
|
||||
#if DEPLOY_ISO2_CODEC_FRAGMENT == SUPPORT_YES
|
||||
#if DEPLOY_ISO1_CODEC_FRAGMENT == SUPPORT_YES
|
||||
int encode_iso1ExiFragment(bitstream_t* stream, struct iso1EXIFragment* exiFrag);
|
||||
#endif /* DEPLOY_ISO2_CODEC_FRAGMENT */
|
||||
#endif /* DEPLOY_ISO1_CODEC_FRAGMENT */
|
||||
|
||||
|
||||
#endif /* DEPLOY_ISO2_CODEC */
|
||||
#endif /* DEPLOY_ISO1_CODEC */
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue