Morten Schmidt wrote:
I have the following for at poll program:

[snip]
UInt32 init = TimGetSeconds();
while (TimGetSeconds() < init+3)
{
    // Do absolutely notihng. Busy-wait loop...
}
FrmReturnToForm(0);
[snap]

Don't do this! Idle loops waste batteries. Instead use SysTaskDelay( 3*SysTicksPerSecond() );

--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to