If temporal logic (e.g. 'after') is used in state charts that reside inside an if-else triggered subsystem, the generated code replaces the expected if-else structure by a switch-case-structure with an empty default case.
This does not happen when replacing the temporal logic by explicitly implemented timers using local variables. The impact in my project is that the used tasking compiler throws compiler warnings for the empty switch-case default path. However, I do not want to replace temporal logic with self-implemented timers for readability reasons and also I do want to use if-else triggered subsystems.
How can I solve this?
Best Answer