µTasker Forum

µTasker Forum => µTasker general => Topic started by: coflynn on February 04, 2009, 04:26:10 PM

Title: Changing maximum clock delay
Post by: coflynn on February 04, 2009, 04:26:10 PM
Hello,

I wanted to change the maximum clock delay allowed when calling uTaskerGlobalMonoTimer() to a 32-bit time. Right now in types.h I see:

typedef unsigned short  CLOCK_LIMIT;

Can I just change that to unsigned long? Is there other types I have to change too?

Thanks,

  -Colin
Title: Re: Changing maximum clock delay
Post by: mark on February 04, 2009, 05:35:39 PM
Hi Colin

In types.h you can adjust such thing to match a project.
You should be able to make this change without and other effects on operation (no other changes required). The result is that you can then program longer delays, but the variables grow slightly in size.

Regards

Mark