3 Replies Latest reply on Feb 18, 2012 6:12 AM by gaya

    const char xdata var[6]={0,0,0,0,0,0},the number of a const array member can't be more than six

    yan.david

      Hi,everybody.     

       

         

      I'm troubled by a wierd problem. Tthe number of a const array member can't be more than six.     

       

         

      for example. "const char xdata rar[6]={0,0,0,0,0,0};" in the code it runs normally. but when I write"const char xdata rar[7]={0,0,0,0,0,0,0}" in the code. the firmware stalls. it doesn't react to the cyconsole.exe.     

       

         

      what's wrong? so weird it is.