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

View file

@ -20,12 +20,19 @@
#include "Globals.h"
#include "FMTimer.h"
CFMTimer::CFMTimer()
CFMTimer::CFMTimer() :
m_timeout(0U)
{
}
void CFMTimer::setTimeout(uint16_t time)
void CFMTimer::setTimeout(uint16_t timeout)
{
m_timeout = timeout;
}
uint16_t CFMTimer::getTimeout() const
{
return m_timeout;
}
void CFMTimer::start()