My Marlin configs for Fabrikator Mini and CTC i3 Pro B
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

watchdog.h 399B

12345678910111213141516
  1. #ifndef __WATCHDOGH
  2. #define __WATCHDOGH
  3. #include "Marlin.h"
  4. #ifdef USE_WATCHDOG
  5. // intialise watch dog with a 1 sec interrupt time
  6. void wd_init();
  7. // pad the dog/reset watchdog. MUST be called at least every second after the first wd_init or avr will go into emergency procedures..
  8. void wd_reset();
  9. #else
  10. FORCE_INLINE void wd_init() {};
  11. FORCE_INLINE void wd_reset() {};
  12. #endif
  13. #endif