mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-05-07 13:37:48 +00:00
Add the intial state machine.
This commit is contained in:
parent
74228c506e
commit
db6fde90e0
6 changed files with 281 additions and 10 deletions
11
FMTimer.cpp
11
FMTimer.cpp
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue