Pumpkin, Inc.

Pumpkin User Forums

OS_Delay error

If you can't make Salvo do what you want it to do, post it here.

OS_Delay error

Postby Roy_BZU » Wed Jun 22, 2005 12:18 am

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

Roy_BZU
 
Posts: 2
Joined: Tue Jun 21, 2005 11:00 pm

Re: OS_Delay error

Postby aek » Wed Jun 22, 2005 12:59 am

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 ...

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

-------
aek
aek
 
Posts: 1888
Joined: Sat Aug 26, 2000 11:00 pm

Re: OS_Delay error

Postby Roy_BZU » Wed Jun 22, 2005 3:53 am

Thanks ...
I solved it
the problem was that i wasn't including the file isr.c in the proper way.
Roy_BZU
 
Posts: 2
Joined: Tue Jun 21, 2005 11:00 pm


Return to Coding

Who is online

Users browsing this forum: No registered users and 2 guests

cron