4 Replies Latest reply on Feb 5, 2015 3:06 AM by davide.urbano

    Warning on static function

    davide.urbano

      Hi at all,

         

      I'm working with PSoC Creator and I have a little problem; in my header file I have declared a static function that I have defined and used in the relative source file, but when I compile the code, appears this warning 

         

      'sht1x_writeByte' declared 'static' but never defined [-Wunused-function]

         

      I really dont' know where is the problem because the function is defined and used...please, could anyone tell me what's wrong ?

         

      regards