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.

1234567891011121314151617
  1. #ifndef WATCHDOG_H
  2. #define WATCHDOG_H
  3. #include "Marlin.h"
  4. #ifdef USE_WATCHDOG
  5. // initialize watch dog with a 1 sec interrupt time
  6. void watchdog_init();
  7. // pad the dog/reset watchdog. MUST be called at least every second after the first watchdog_init or AVR will go into emergency procedures..
  8. void watchdog_reset();
  9. #else
  10. //If we do not have a watchdog, then we can have empty functions which are optimized away.
  11. FORCE_INLINE void watchdog_init() {};
  12. FORCE_INLINE void watchdog_reset() {};
  13. #endif
  14. #endif