My Marlin configs for Fabrikator Mini and CTC i3 Pro B
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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