mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-10-23 02:55:01 +02:00
Add lockout functionality with the option to use the COS line.
This commit is contained in:
@@ -46,6 +46,8 @@ public:
|
||||
bool hasTXOverflow();
|
||||
bool hasRXOverflow();
|
||||
|
||||
bool hasLockout() const;
|
||||
|
||||
void resetWatchdog();
|
||||
|
||||
private:
|
||||
@@ -53,6 +55,7 @@ private:
|
||||
DigitalOut m_pinPTT;
|
||||
DigitalOut m_pinCOSLED;
|
||||
DigitalOut m_pinLED;
|
||||
DigitalIn m_pinCOS;
|
||||
|
||||
AnalogIn m_pinADC;
|
||||
AnalogOut m_pinDAC;
|
||||
@@ -83,6 +86,8 @@ private:
|
||||
uint16_t m_overcount;
|
||||
|
||||
volatile uint32_t m_watchdog;
|
||||
|
||||
bool m_lockout;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user