My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

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