If you're talking about disabling the auto sleep function, just do:
UInt NumSeconds = 0;
SysSetAutoOffTime(NumSeconds);
The zero value of the argument disables the timer.
That's my stab, but I'm not sure if that's really what you were asking.
Keep an eye
out for more posts. I'm not totally sure what you are trying to do.
John
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jim
Garozzo
Sent: Friday, June 29, 2001 8:08 AM
To: Palm Developer Forum
Subject: Disabling System Timer
I'm doing a serial application where i'd like to disable the system time if
in serial mode. I was curious if there was a simple way of disabling this
timer instead of just resetting the AutoOffTimer ever less than the actual
value of the timer when in serial mode.
I did a search in the archives but did not see anything that would do this.
So, any quick responses will be helpful.
Thanks!
Jim
--
**************************************************************
James P. Garozzo - Connectivity Engineer
White-Rodgers - Affton, MO
Phone: 314.577.5201 Fax: 314.577.5248
E-mail: [EMAIL PROTECTED]
**************************************************************
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/