What's to be done for a substitution with more than one argument?
Next line
NewStatus(Act, state1)
should be substituted to
if(ActSaved.bits.state1 == SET)
Macro definition (not working):
#define NewStatus(a,b) if(##aSaved.bits.##b == SET)
How is that possible?
#define NewStatus(a,b) if(a##Saved.bits.##b == SET)