watchdog,percent done,
This commit is contained in:
parent
c57906b627
commit
7919a40d06
7 changed files with 55 additions and 33 deletions
|
|
@ -220,11 +220,12 @@ const bool ENDSTOPS_INVERTING = true; // set to true to invert the logic of the
|
|||
|
||||
// The watchdog waits for the watchperiod in milliseconds whenever an M104 or M109 increases the target temperature
|
||||
// this enables the watchdog interrupt.
|
||||
#define USE_WATCHDOG
|
||||
// you cannot reboot on a mega2560 due to a bug in he bootloader. Hence, you have to reset manually, and this is done hereby:
|
||||
#define RESET_MANUAL
|
||||
#define WATCHDOG_TIMEOUT 4 //seconds
|
||||
|
||||
//#define USE_WATCHDOG
|
||||
#ifdef USE_WATCHDOG
|
||||
// you cannot reboot on a mega2560 due to a bug in he bootloader. Hence, you have to reset manually, and this is done hereby:
|
||||
#define RESET_MANUAL
|
||||
#define WATCHDOG_TIMEOUT 4 //seconds
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue