Adding original MMDVM watchdog and LED functions

This commit is contained in:
Andy CA6JAU 2017-02-10 16:14:02 -03:00
parent 7d40e245bd
commit e04551979d
4 changed files with 47 additions and 7 deletions

View file

@ -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;