mirror of https://github.com/meshcore-dev/MeshCore
Browse Source
Feed external hardware watchdog on Heltec Tower V2 (aka MeshTower V2) Implementation 2pull/2942/head
committed by
GitHub
13 changed files with 149 additions and 7 deletions
@ -0,0 +1,12 @@ |
|||||
|
#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() { } |
||||
|
}; |
||||
Loading…
Reference in new issue