diff --git a/sonoff/_changelog.ino b/sonoff/_changelog.ino index 9ddb1b357..871d04ae4 100644 --- a/sonoff/_changelog.ino +++ b/sonoff/_changelog.ino @@ -7,6 +7,7 @@ * Extend PWM resolution from 8 to 10 bits for low brightness lights * Allow all 5 PWM channels individually adressable with LEDs. (#5741) * Fixed inversion of WC/WW channels, back to RGBCW + * Fixed the Unescape() function and the SendSerial3 behaviour * * 6.5.0.8 20190413 * Add Tuya Dimmer 10 second heartbeat serial packet required by some Tuya dimmer secondary MCUs diff --git a/sonoff/support.ino b/sonoff/support.ino index d8732fc85..95d3326ce 100644 --- a/sonoff/support.ino +++ b/sonoff/support.ino @@ -353,7 +353,7 @@ char* Unescape(char* buffer, uint16_t* size) } } *size = end_size; - + *write++ = 0; // add the end string pointer reference // AddLogBuffer(LOG_LEVEL_DEBUG, (uint8_t*)buffer, *size); return buffer;