mmu: Silence repeated S0 requests

Update "S0" CRC on replies so that the message is properly silenced.
This commit is contained in:
Yuri D'Elia 2022-12-08 17:59:26 +01:00 committed by DRracer
parent 78cf51274f
commit b3b9778341
1 changed files with 1 additions and 1 deletions

View File

@ -705,7 +705,7 @@ void ProtocolLogic::LogRequestMsg(const uint8_t *txbuff, uint8_t size) {
tmp[i + 1] = b;
}
tmp[size + 1] = 0;
if (!strncmp_P(tmp, PSTR(">S0*99."), rqs) && !strncmp(lastMsg, tmp, rqs)) {
if (!strncmp_P(tmp, PSTR(">S0*c6."), rqs) && !strncmp(lastMsg, tmp, rqs)) {
// @@TODO we skip the repeated request msgs for now
// to avoid spoiling the whole log just with ">S0" messages
// especially when the MMU is not connected.