AnsweredAssumed Answered

macro declaration

Question asked by Zhang Tutu on Jul 15, 2011
Latest reply on Jul 23, 2011 by Zhang Tutu

Hi,everyone!

 

When I compile my C coding, there was an error that C2801: ' ; '  missing. The codes are as follows.

 

#define     FAN_LOWSPEED_OFF()           PTDDD_PTDDD5 = 1;\  

                                                                          IO_vResetPin(PTED_PTED0)

 

I don't know much about the macro declaration. Is there anything wrong with my codes?

 

Any ideas about dealing with my errors?

 

Thanks much for your replies.

Outcomes