Reduce the amount of logging information.

This commit is contained in:
Jonathan Naylor
2016-03-08 21:11:22 +00:00
parent 12ca69c48d
commit 314b58912b
4 changed files with 17 additions and 13 deletions
+2 -2
View File
@@ -503,7 +503,7 @@ void CYSFRX::processData(q15_t sample)
// We've not seen a data sync for too long, signal RXLOST and change to RX_NONE
m_lostCount--;
if (m_lostCount == 0U) {
DEBUG1("YSFRX: sync timed out, lost lock");
// DEBUG1("YSFRX: sync timed out, lost lock");
io.setDecode(false);
serial.writeYSFLost();
@@ -528,7 +528,7 @@ void CYSFRX::processData(q15_t sample)
serial.writeYSFData(m_outBuffer, YSF_FRAME_LENGTH_BYTES + 1U);
if (ok && (FICH[0U] & 0xC0U) == 0x80U) {
DEBUG1("YSFRX: end of transmission");
// DEBUG1("YSFRX: end of transmission");
io.setDecode(false);
m_state = YSFRXS_NONE;
} else {