Page 1 of 1

OS_Delay (5); Problem

PostPosted: Mon Aug 18, 2008 7:29 am
by aek
Again, you're trying Salvo v3 but reading the Salvo 4 User Manual.

In Salvo v3, you need

code:
OS_Delay(5,label);

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


Re: OS_Delay (5); Problem

PostPosted: Mon Aug 18, 2008 11:54 am
by schmitta
Hi -- I am using tu5 (copied to my tut5) to try out a OS_Delay(5). I get the following error from Keil's C51 compiler:


..main.c(37): error C307: macro 'OS_Delay': parameter count mismatch

I tried both of the following:

OS_Delay((OStypeDelay)5);
or
OS_Delay(5);

But I still get the error. Am I not able to use OS_Delay() from salvo lite?