Author Topic: Changing maximum clock delay  (Read 7439 times)

Offline coflynn

  • Newbie
  • *
  • Posts: 6
    • View Profile
Changing maximum clock delay
« 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

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3236
    • View Profile
    • uTasker
Re: Changing maximum clock delay
« Reply #1 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