I want to use the following MACRO in my file
#define DO_WAKEUP_SYNCHRONISIEREN proc.id = process_WAKEUP;proc.priority.level = PRIO_AKTIV_1;proc.priority.param=0u;(void)prio_mapF_put_in_matrix(proc)
I know that it is a violation of MISRA-C:2004 Rule 19.4 - but I need to use this and to solve the violation.
Is there any way I can use the MACRO and also solve the MISRA-C violation?
MISRA-C:2004 Rule 19.4 is
C macros shall only expand to a braced initialiser, a constant, a string literal, a parenthesised expression, a type qualifier, a storage class specifier, or a do-while-zero construct.