CodeVision AVR problem

OP (Company: Gsm&PC) #6392478
Rate this post
useful
not useful
Hallo,

I have the following error message (for ATmega128):

Error: Mtk.c(249): function argument #2 of type 'const unsigned char 
[10]' is incompatible with required parameter of type 'flash unsigned 
char *'

1
MLOCAL void mt_SMarker(void)
2
   {
3
   UBYTE I;                           
4
      for (I = 0; I <= _TASK; I++)
5
      {  
6
         strcpyf((UBYTE *)Tdb[I].SStackAdr + 1, kSStackEnd); 
7
         strcpyf((UBYTE *)Tdb[I].DStackAdr, kDStackEnd);
8
      }
9
   }

Thanks in advance!

Reply

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now