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
+12 -1
View File
@@ -21,7 +21,8 @@
#include "FMTimeout.h"
CFMTimeout::CFMTimeout() :
m_level(128 * 128)
m_level(128 * 128),
m_running(false)
{
}
@@ -33,3 +34,13 @@ void CFMTimeout::setParams(uint8_t level)
void CFMTimeout::getAudio(q15_t* samples, uint8_t length)
{
}
void CFMTimeout::start()
{
m_running = true;
}
void CFMTimeout::stop()
{
m_running = false;
}