5 Replies Latest reply on Dec 18, 2011 4:23 PM by ki.leung

    sprintf function is changing the first declared uint16 variable

    thomas.schmid

      Dear all,

         

      I have a quite interesting bug (?) in my projects..

         

      It seems like the sprintf function is changing the first declared uint16 in its value, even it isn't used in the function at all!
      Also when using the debugger, some variables couldn't be changed, during the next instruction the value is changed.

         

      Does anyone of you know this behavior or even has a solution for it?
      Thanks a lot in advance,
      best regards,
      Thomas