Page 1 of 1

OS_WaitEFLag()

PostPosted: Thu May 17, 2007 12:49 am
by Juil
i want to use OS_WaitEFLag()with a timeout,
&i use it like this OS_WaitEflag(EFLAG_COMMAND_P,MOVE_COMMAND,OSEXACT_BITS,2,TaskMoveControl)
but it doesn't response.
Why?
Thanks a lot,aek!

Re: OS_WaitEFLag()

PostPosted: Thu May 17, 2007 4:51 am
by aek
1) Make sure you are using a timeout-enabled library. (-t configuration).

2) See use of OSTimedOut().

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


Re: OS_WaitEFLag()

PostPosted: Thu May 17, 2007 5:58 am
by Juil
thank you,i'm too careless.
i was always using sfp82lab.lib