Add the intial state machine.

This commit is contained in:
Jonathan Naylor
2020-04-15 16:31:49 +01:00
parent 74228c506e
commit db6fde90e0
6 changed files with 281 additions and 10 deletions
+4 -1
View File
@@ -25,7 +25,9 @@ class CFMTimer {
public:
CFMTimer();
void setTimeout(uint16_t time);
void setTimeout(uint16_t timeout);
uint16_t getTimeout() const;
void start();
@@ -38,6 +40,7 @@ public:
bool hasExpired() const;
private:
uint16_t m_timeout;
};
#endif