My Marlin configs for Fabrikator Mini and CTC i3 Pro B
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1234567891011121314 |
- #ifndef WATCHDOG_H
- #define WATCHDOG_H
-
- #include "Marlin.h"
- #include <avr/wdt.h>
-
- // Initialize watchdog with a 4 second interrupt time
- void watchdog_init();
-
- // Reset watchdog. MUST be called at least every 4 seconds after the
- // first watchdog_init or AVR will go into emergency procedures.
- inline void watchdog_reset() { wdt_reset(); }
-
- #endif
|