Additional changes for 48 kHz

This commit is contained in:
Andy CA6JAU
2017-10-14 19:33:41 -03:00
parent 551eac3140
commit 7f251e1380
6 changed files with 14 additions and 14 deletions
+3 -3
View File
@@ -167,7 +167,7 @@ void CIO::process()
m_ledCount++;
if (m_started) {
// Two seconds timeout
if (m_watchdog >= 48000U) {
if (m_watchdog >= 96000U) {
if (m_modemState == STATE_DSTAR || m_modemState == STATE_DMR || m_modemState == STATE_YSF) {
if (m_modemState == STATE_DMR && m_tx)
dmrTX.setStart(false);
@@ -178,13 +178,13 @@ void CIO::process()
m_watchdog = 0U;
}
if (m_ledCount >= 24000U) {
if (m_ledCount >= 48000U) {
m_ledCount = 0U;
m_ledValue = !m_ledValue;
setLEDInt(m_ledValue);
}
} else {
if (m_ledCount >= 240000U) {
if (m_ledCount >= 480000U) {
m_ledCount = 0U;
m_ledValue = !m_ledValue;
setLEDInt(m_ledValue);