This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Warning 15: MULTIPLE CALL TO FUNCTION

Hi all,

After compiling, I got following warning:

*** WARNING L15: MULTIPLE CALL TO FUNCTION
NAME: _PUTMULTICHAR_SCI/SCI
CALLER1: ?C_C51STARTUP
CALLER2: INT0_ISR/INTERRUPT

Int0_ISR() is in interrupt.c.

However, I believe that function PutMultiChar_SCI() is not called by Int0_ISR(), although it was. PutMultiChar_SCI() is called at multiply place within main loop.

I read http://www.keil.com/support/docs/805.htm

I was wondering is there any cause will generate this warning ? Thanks in advance.

Daniel

Parents
  • "I believe that function PutMultiChar_SCI() is not called by Int0_ISR(), although it was." (my emphasis)

    Well, if it was called that'll be the reason!

    Note that the warning doesn't mean that there's a direct call from int0_isr - just that there's a call somewhere in the call tree from int0_isr.
    eg, is it called by something like printf...?

Reply
  • "I believe that function PutMultiChar_SCI() is not called by Int0_ISR(), although it was." (my emphasis)

    Well, if it was called that'll be the reason!

    Note that the warning doesn't mean that there's a direct call from int0_isr - just that there's a call somewhere in the call tree from int0_isr.
    eg, is it called by something like printf...?

Children