1
0
Fork 0

CO_gateway_ascii: static analysis: switch case lacks unconditional break or throw [MISRA 2012 Rule 16.3, required]

This commit is contained in:
temi54c1l8 2024-06-27 09:09:21 +02:00
parent d7b77c7dd6
commit ebf549db2b

View file

@ -1549,6 +1549,7 @@ void CO_GTWA_process(CO_GTWA_t *gtwa,
else switch (gtwa->state) {
case CO_GTWA_ST_IDLE: {
return; /* skip timerNext_us calculation */
break;
}
#if ((CO_CONFIG_GTW) & CO_CONFIG_GTW_ASCII_SDO) != 0