mmu: Silence repeated S0 requests
Update "S0" CRC on replies so that the message is properly silenced.
This commit is contained in:
parent
78cf51274f
commit
b3b9778341
|
|
@ -705,7 +705,7 @@ void ProtocolLogic::LogRequestMsg(const uint8_t *txbuff, uint8_t size) {
|
||||||
tmp[i + 1] = b;
|
tmp[i + 1] = b;
|
||||||
}
|
}
|
||||||
tmp[size + 1] = 0;
|
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
|
// @@TODO we skip the repeated request msgs for now
|
||||||
// to avoid spoiling the whole log just with ">S0" messages
|
// to avoid spoiling the whole log just with ">S0" messages
|
||||||
// especially when the MMU is not connected.
|
// especially when the MMU is not connected.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue