Page 1 of 1

OS_Delay error

PostPosted: Wed Jun 22, 2005 12:18 am
by Roy_BZU
Hi all,
I'm trying to compile an application using salvo light version. I'm using OS_Delay() for context switch. When trying to compile using MPLAB and mcc18 compiler , I have the following error :
C:salvo utprojectmain.c:165:Error [1105] symbol 'TaskBlink_Label' has not been defined
C:salvo utprojectmain.c:165:Warning [2058] call of function without prototype


for (;
{
OS_Delay(60, TaskBlink_Label);
PORTB ^= 0x01;
}

we ae sure that TaskBlink_Label is well defined.

Thanks in Advance.

Roy


Re: OS_Delay error

PostPosted: Wed Jun 22, 2005 12:59 am
by aek
MCC18? Or PICC18?

Something else is wrong -- we need more information to help you out.

The Salvo for MCC18 port should not complain about whatever name you give a label ...

------------------


Re: OS_Delay error

PostPosted: Wed Jun 22, 2005 3:53 am
by Roy_BZU
Thanks ...
I solved it
the problem was that i wasn't including the file isr.c in the proper way.