mirror of
https://github.com/g4klx/MMDVM.git
synced 2026-04-05 14:37:02 +00:00
Add lockout functionality with the option to use the COS line.
This commit is contained in:
parent
7258bf34fb
commit
e7334a2d7a
4 changed files with 45 additions and 2 deletions
|
|
@ -57,7 +57,7 @@ const uint8_t MMDVM_DEBUG4 = 0xF4U;
|
|||
const uint8_t MMDVM_DEBUG5 = 0xF5U;
|
||||
const uint8_t MMDVM_SAMPLES = 0xF8U;
|
||||
|
||||
const uint8_t HARDWARE[] = "MMDVM 20160229 (D-Star/DMR/System Fusion)";
|
||||
const uint8_t HARDWARE[] = "MMDVM 20160303 (D-Star/DMR/System Fusion)";
|
||||
|
||||
const uint8_t PROTOCOL_VERSION = 1U;
|
||||
|
||||
|
|
@ -129,6 +129,9 @@ void CSerialPort::getStatus() const
|
|||
if (io.hasTXOverflow())
|
||||
reply[5U] |= 0x08U;
|
||||
|
||||
if (io.hasLockout())
|
||||
reply[5U] |= 0x10U;
|
||||
|
||||
if (m_dstarEnable)
|
||||
reply[6U] = dstarTX.getSpace();
|
||||
else
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue