From 2cef4cdcf48356fda5c43822700619016bda0cb9 Mon Sep 17 00:00:00 2001 From: Stephan Hadinger Date: Tue, 2 Mar 2021 15:04:59 +0100 Subject: [PATCH] Zigbee fix crash when bad frame is received --- tasmota/xdrv_23_zigbee_9_serial.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasmota/xdrv_23_zigbee_9_serial.ino b/tasmota/xdrv_23_zigbee_9_serial.ino index c8fce4df8..9b70496eb 100644 --- a/tasmota/xdrv_23_zigbee_9_serial.ino +++ b/tasmota/xdrv_23_zigbee_9_serial.ino @@ -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;