setting for an actuator to be an extruder
[clinton/Smoothieware.git] / src / libs / Watchdog.h
index 183aa55..20f0bec 100644 (file)
@@ -3,17 +3,22 @@
 
 #include <stdint.h>
 
+#include "Module.h"
+
 typedef enum
 {
     WDT_MRI,
     WDT_RESET,
 } WDT_ACTION;
 
-class Watchdog
+class Watchdog : public Module
 {
 public:
     Watchdog(uint32_t timeout, WDT_ACTION action);
     void feed();
+
+    void on_module_loaded();
+    void on_idle(void*);
 };
 
 #endif /* _WATCHDOG_H */