On 12/16/13 14:23, Vincent Rivière wrote:
But it's not unused. It's reading a hardware register, whereas volatile is the right choice.On 14/12/2013 02:03, Alan Hourihane wrote:Can you add "volatile" to the "long desttmp[2];" declaration for now ?The classic way to silence "unused variable" warning is to use the UNUSED() macro somewhere in the function body.
Alan.