In my code I use the nop instruction (for short delay). The compiler warns me:
warning: #174-D: expression has no effect
How can I suppress this warning?
I insert it as following:
__NOP;
this is then defined in core_cmInstr.h as:
/** \brief No Operation No Operation does nothing. This instruction can be used for code alignment purposes. */ #define __NOP __nop