diff --git a/portable/template/port.c b/portable/template/port.c index 7cac1c991..f852b6c05 100644 --- a/portable/template/port.c +++ b/portable/template/port.c @@ -65,6 +65,9 @@ static void prvTickISR( void ) /* Tasks or ISRs running on other cores may still in critical section in * multiple cores environment. Incrementing tick needs to performed in * critical section. */ + /* MISRA Ref 4.7.1 [Return value shall be checked] */ + /* More details at: https://github.com/FreeRTOS/FreeRTOS-Kernel/blob/main/MISRA.md#dir-47 */ + /* coverity[misra_c_2012_directive_4_7_violation] */ ulPreviousMask = taskENTER_CRITICAL_FROM_ISR(); /* Maintain the tick count. */