mirror of
https://github.com/g4klx/MMDVM_HS.git
synced 2026-04-05 14:35:14 +00:00
Adding original MMDVM watchdog and LED functions
This commit is contained in:
parent
7d40e245bd
commit
e04551979d
4 changed files with 47 additions and 7 deletions
|
|
@ -68,7 +68,7 @@ const uint8_t MMDVM_DEBUG3 = 0xF3U;
|
|||
const uint8_t MMDVM_DEBUG4 = 0xF4U;
|
||||
const uint8_t MMDVM_DEBUG5 = 0xF5U;
|
||||
|
||||
const uint8_t HARDWARE[] = "MMDVM 20161213-HS (D-Star/DMR/YSF/P25)";
|
||||
const uint8_t HARDWARE[] = "MMDVM-HS 20170210 (D-Star/DMR/YSF/P25)";
|
||||
|
||||
const uint8_t PROTOCOL_VERSION = 1U;
|
||||
|
||||
|
|
@ -107,7 +107,7 @@ void CSerialPort::sendNAK(uint8_t err)
|
|||
|
||||
void CSerialPort::getStatus()
|
||||
{
|
||||
//io.resetWatchdog();
|
||||
io.resetWatchdog();
|
||||
|
||||
uint8_t reply[15U];
|
||||
|
||||
|
|
@ -212,8 +212,6 @@ uint8_t CSerialPort::setConfig(const uint8_t* data, uint8_t length)
|
|||
if (colorCode > 15U)
|
||||
return 4U;
|
||||
|
||||
// uint8_t dmrDelay = data[7U];
|
||||
|
||||
m_modemState = modemState;
|
||||
|
||||
m_dstarEnable = dstarEnable;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue