Обновление
This commit is contained in:
parent
58bfb47bf9
commit
fd3f1d108b
|
|
@ -225,10 +225,10 @@ typedef struct __attribute__ ((packed)) {
|
|||
|
||||
#define LOG_XCP 1
|
||||
|
||||
#define PROTECT_CAL_PAG 1
|
||||
#define PROTECT_DAQ 1
|
||||
#define PROTECT_STIM 1
|
||||
#define PROTECT_PGM 1
|
||||
#define PROTECT_CAL_PAG 0
|
||||
#define PROTECT_DAQ 0
|
||||
#define PROTECT_STIM 0
|
||||
#define PROTECT_PGM 0
|
||||
|
||||
#define SECT_SRAM_XCP __attribute__((section (".xcpdata")))
|
||||
|
||||
|
|
|
|||
|
|
@ -1658,13 +1658,14 @@ uint8_t vCanSerialPortFrameXcpReceive(tCanSerialPortFrameXCP *env, uint32 timeou
|
|||
env->ioCanFrame->transmit(env->ioCanFrame->env, env->response, 2,
|
||||
PROTOCOL_CAN_ADR_XCP,
|
||||
PROTOCOL_CAN_TYPE_XCP, timeout);
|
||||
|
||||
#endif
|
||||
|
||||
} else {
|
||||
XCP_GET_DAQ_STM(env);
|
||||
}
|
||||
#endif
|
||||
|
||||
#if (PROTECT_STIM == 0)
|
||||
XCP_GET_DAQ_STM(env);
|
||||
#endif
|
||||
}
|
||||
|
||||
osMutexRelease(env->access);
|
||||
|
|
|
|||
Loading…
Reference in New Issue