Pumpkin, Inc.

Pumpkin User Forums

OSBYTES_OF_DELAYS/TICKS

If you're having difficulty with Salvo's configuration options, post it here.

OSBYTES_OF_DELAYS/TICKS

Postby ChrisV » Thu Jan 25, 2001 7:48 am

Hello,
What is the main difference between these two config settings and how do you know which one to use , if not both?
ChrisV
 
Posts: 10
Joined: Wed Jan 24, 2001 12:00 am
Location: Chandler, AZ

Re: OSBYTES_OF_DELAYS/TICKS

Postby Salvo Tech Support » Thu Jan 25, 2001 8:09 am

Hi ChrisV.

OSBYTES_OF_TICKS enables the code and memory for the system tick counter, and allows you to use OSSetTicks() and OSGetTicks(). With OSBYTES_OF_TICKS >= 0, you can compute absolute elapsed time in ticks. If you don't need this info, leave OSBYTES_OF_TICKS at its default of 0.

OSBYTES_OF_DELAYS enables the code and memory for task delay functions (OS_Delay()). OSBYTES_OF_DELAYS must be >=0 in order to call OS_Delay() in a task.

Both of these features use OSTimer(). That is, if you enable either or both of these functions, you must call OSTimer() at the system tick rate you've chosen for your application.

Please see the configuration chapter in the Salvo User Manual for specifics on setting these configuration options.

[This message has been edited by Salvo Tech Support (edited January 25, 2001).]

--------
Salvo Technical Support
Please request all tech support through the Forums.
Salvo Tech Support
 
Posts: 173
Joined: Sun Nov 19, 2000 12:00 am


Return to Configuration

Who is online

Users browsing this forum: No registered users and 0 guests

cron