diff --git a/Inc/CanSerialPortFrameXCP.h b/Inc/CanSerialPortFrameXCP.h index 5dd569a..c3e7923 100644 --- a/Inc/CanSerialPortFrameXCP.h +++ b/Inc/CanSerialPortFrameXCP.h @@ -12,15 +12,6 @@ #include "SystemMutexCmsis.h" #include "VarsTabDumpObserver.h" -#define LOG_XCP 1 - -#define PROTOCOL_CAN_ADR_XCP 0x250 -#define PROTOCOL_CAN_TYPE_XCP 0x0 - -#define PROTECT_CAL_PAG 1 -#define PROTECT_DAQ 1 -#define PROTECT_STIM 1 -#define PROTECT_PGM 1 typedef enum { XCP_ERR_CMD_SYNCH = 0x00, @@ -232,6 +223,16 @@ typedef struct __attribute__ ((packed)) { uint8_t ODT_ENTRY_NUMBER; } eXcpCommand_SET_DAQ_PTR; +#define LOG_XCP 1 + +#define PROTOCOL_CAN_ADR_XCP 0x250 +#define PROTOCOL_CAN_TYPE_XCP 0x0 + +#define PROTECT_CAL_PAG 1 +#define PROTECT_DAQ 1 +#define PROTECT_STIM 1 +#define PROTECT_PGM 1 + #define SECT_SRAM_XCP __attribute__((section (".xcpdata"))) #define MASTER_BLOCK_MODE 0