mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-04 14:07:36 +00:00
Add the optional System Fusion Parrot.
This commit is contained in:
parent
7852bd53b5
commit
e2c7a28fb9
11 changed files with 206 additions and 5 deletions
|
|
@ -21,6 +21,7 @@
|
|||
|
||||
#include "YSFDefines.h"
|
||||
#include "RingBuffer.h"
|
||||
#include "YSFParrot.h"
|
||||
#include "Display.h"
|
||||
#include "Defines.h"
|
||||
#include "Timer.h"
|
||||
|
|
@ -30,7 +31,7 @@
|
|||
|
||||
class CYSFControl {
|
||||
public:
|
||||
CYSFControl(const std::string& callsign, IDisplay* display, unsigned int timeout, bool duplex);
|
||||
CYSFControl(const std::string& callsign, IDisplay* display, unsigned int timeout, bool duplex, bool parrot);
|
||||
~CYSFControl();
|
||||
|
||||
bool writeModem(unsigned char* data);
|
||||
|
|
@ -46,9 +47,11 @@ private:
|
|||
RPT_STATE m_state;
|
||||
CTimer m_timeoutTimer;
|
||||
unsigned int m_frames;
|
||||
CYSFParrot* m_parrot;
|
||||
FILE* m_fp;
|
||||
|
||||
void writeQueue(const unsigned char* data);
|
||||
void writeParrot(const unsigned char* data);
|
||||
|
||||
void writeEndOfTransmission();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue