mirror of https://github.com/arendst/Tasmota.git
Zigbee fix crash when bad frame is received
This commit is contained in:
parent
2057912276
commit
2cef4cdcf4
|
@ -265,7 +265,7 @@ void ZigbeeInputLoop(void) {
|
|||
}
|
||||
} else {
|
||||
// the buffer timed-out, print error and discard
|
||||
AddLog_P(LOG_LEVEL_INFO, PSTR(D_JSON_ZIGBEE_EZSP_RECEIVED ": time-out, discarding %s, %_B"), zigbee_buffer);
|
||||
AddLog_P(LOG_LEVEL_INFO, PSTR(D_JSON_ZIGBEE_EZSP_RECEIVED ": time-out, discarding %_B"), zigbee_buffer);
|
||||
}
|
||||
zigbee_buffer->setLen(0); // empty buffer
|
||||
escape = false;
|
||||
|
|
Loading…
Reference in New Issue