AnsweredAssumed Answered

I can't find the address of local variable!

Question asked by liukai on Feb 5, 2014
Latest reply on Feb 5, 2014 by pfeifferc

I write subfunction--short Load_single_wav(unsigned char channel_number,unsigned char p3).

When the process into this subfunction. I can find the global variable channel_number_global, but the local variable channel_number is displayed error in "expression". Like this picure.

3333333333333333333333333333.jpg

This subfunction like this.

short Load_single_wav(unsigned char channel_number,unsigned char p3)

{

    .......

  

   channel_number_global=channel_number;

   MDMA_disable();

   .......

}

In the attachment, there is symbol map.

Outcomes