mirror of
https://github.com/meshcore-dev/MeshCore.git
synced 2026-04-20 22:13:47 +00:00
Merge f9b830b5ea into dee3e26ac0
This commit is contained in:
commit
0fc7e10530
10 changed files with 112 additions and 5 deletions
12
src/helpers/ExternalWatchdogManager.h
Normal file
12
src/helpers/ExternalWatchdogManager.h
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#pragma once
|
||||
|
||||
class ExternalWatchdogManager {
|
||||
protected:
|
||||
unsigned long next_feed_watchdog;
|
||||
public:
|
||||
ExternalWatchdogManager() { next_feed_watchdog = 0; }
|
||||
virtual bool begin() { return false; }
|
||||
virtual void loop() { }
|
||||
virtual unsigned long getIntervalMs() const { return 0; }
|
||||
virtual void feed() { }
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue