??? 04/02/10 11:16 Read: times |
#174770 - You misunderstand Responding to: ???'s previous message |
Baptiste Pomechicot said:
Why do you say it's better to feed watchdog in the (sic?) infinite loop than to feed it in the interrupt handler For a start, can you see why it could be a bad idea to feed the watchdog in an interrupt handler? Sencondly, it's not just any "infinite loop" here - in general, feeding the watchdog in an infinite loop is a Bad Idea - we are talking specifically about your program's main loop. Clearly, if the program is not regularly iterating around its main loop, then there's a problem - it must be stuck in one of the "tasks", mustn't it? |