1
0
Fork 0

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:
temi54c1l8 2024-06-14 10:59:43 +02:00
parent cac0f78b10
commit 41c9e742f8

View file

@ -557,6 +557,10 @@ void CO_EM_process(CO_EM_t *em,
uint32_t *timerNext_us)
{
(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 */
uint16_t CANerrSt = em->CANdevTx->CANerrorStatus;