| ??? 07/21/04 12:46 Read: times |
#74574 - RE: adding a detail Responding to: ???'s previous message |
One error condition that is very probable is trapping within an infinite loops
That is not a watchdog issue. The common code while (flag == 0);
should be replaced by
marker = TRUE;
for (timer=maxtime; timer!=0; timer--)
PET_THE_PUPPY; // a macro to stroke the watchdog
if (flag == 1)
{
marker = FALSE;
break;
)
if (marker)
{
error();
}Erik |



