mirror of
https://github.com/g4klx/MMDVMHost.git
synced 2026-04-04 22:17:38 +00:00
Reset the mode's state machines when going to the disabled state.
This commit is contained in:
parent
b16aaa653c
commit
ae9e6ea6ab
15 changed files with 286 additions and 2 deletions
|
|
@ -47,6 +47,8 @@ public:
|
|||
|
||||
bool isBusy() const;
|
||||
|
||||
void enable(bool enabled);
|
||||
|
||||
private:
|
||||
unsigned int m_ran;
|
||||
unsigned int m_id;
|
||||
|
|
@ -79,6 +81,7 @@ private:
|
|||
unsigned char m_minRSSI;
|
||||
unsigned int m_aveRSSI;
|
||||
unsigned int m_rssiCount;
|
||||
bool m_enabled;
|
||||
FILE* m_fp;
|
||||
|
||||
bool processVoice(unsigned char usc, unsigned char option, unsigned char *data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue