CO_Emergency: static analysis: named parameter 'timeDifference_us' of 'non-virtual' function 'CO_EM_process' not subsequently referenced [MISRA 2012 Rule 2.7, advisory]
This commit is contained in:
parent
cac0f78b10
commit
41c9e742f8
1 changed files with 4 additions and 0 deletions
|
|
@ -557,6 +557,10 @@ void CO_EM_process(CO_EM_t *em,
|
||||||
uint32_t *timerNext_us)
|
uint32_t *timerNext_us)
|
||||||
{
|
{
|
||||||
(void)timerNext_us; /* may be unused */
|
(void)timerNext_us; /* may be unused */
|
||||||
|
|
||||||
|
#if ((CO_CONFIG_EM) & CO_CONFIG_EM_PROD_INHIBIT) == 0
|
||||||
|
(void)timeDifference_us; /* may be unused */
|
||||||
|
#endif
|
||||||
|
|
||||||
/* verify errors from driver */
|
/* verify errors from driver */
|
||||||
uint16_t CANerrSt = em->CANdevTx->CANerrorStatus;
|
uint16_t CANerrSt = em->CANdevTx->CANerrorStatus;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue