Fix compiler warnings when building for POG style boards.

This commit is contained in:
Jonathan Naylor
2021-07-19 21:20:57 +01:00
parent 9c883cfafd
commit 96c0e5b141
5 changed files with 51 additions and 8 deletions
+4
View File
@@ -214,6 +214,8 @@ void CM17RX::processData(q15_t sample)
case M17RXS_PACKET:
DEBUG4("M17RX: packet sync found pos/centre/threshold", m_syncPtr, m_centreVal, m_thresholdVal);
break;
default:
break;
}
uint8_t frame[M17_FRAME_LENGTH_BYTES + 3U];
@@ -249,6 +251,8 @@ void CM17RX::processData(q15_t sample)
case M17RXS_PACKET:
writeRSSIPacket(frame);
break;
default:
break;
}
m_maxCorr = 0;