mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-04-20 22:05:08 +00:00
Store FM output in a ring buffer.
This commit is contained in:
parent
046a1de51a
commit
0a51b4c34e
4 changed files with 196 additions and 2 deletions
2
FM.h
2
FM.h
|
|
@ -26,6 +26,7 @@
|
|||
#include "FMTimeout.h"
|
||||
#include "FMKeyer.h"
|
||||
#include "FMTimer.h"
|
||||
#include "FMRB.h"
|
||||
|
||||
enum FM_STATE {
|
||||
FS_LISTENING,
|
||||
|
|
@ -69,6 +70,7 @@ private:
|
|||
CFMTimer m_ackMinTimer;
|
||||
CFMTimer m_ackDelayTimer;
|
||||
CFMTimer m_hangTimer;
|
||||
CFMRB m_ringBuffer;
|
||||
|
||||
void stateMachine(bool validSignal, uint8_t length);
|
||||
void listeningState(bool validSignal);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue