mirror of https://github.com/meshcore-dev/MeshCore
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.
12 lines
313 B
12 lines
313 B
#pragma once
|
|
|
|
class ExternalWatchdogManager {
|
|
protected:
|
|
unsigned long last_feed_watchdog;
|
|
public:
|
|
ExternalWatchdogManager() { last_feed_watchdog = 0; }
|
|
virtual bool begin() { return false; }
|
|
virtual void loop() { }
|
|
virtual unsigned long getIntervalMs() const { return 0; }
|
|
virtual void feed() { }
|
|
};
|
|
|