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.

watchdog.h 346B

1234567891011121314
  1. #ifndef WATCHDOG_H
  2. #define WATCHDOG_H
  3. #include "Marlin.h"
  4. #include <avr/wdt.h>
  5. // Initialize watchdog with a 4 second interrupt time
  6. void watchdog_init();
  7. // Reset watchdog. MUST be called at least every 4 seconds after the
  8. // first watchdog_init or AVR will go into emergency procedures.
  9. inline void watchdog_reset() { wdt_reset(); }
  10. #endif