mirror of https://github.com/arendst/Tasmota.git
Merge pull request #5770 from andreapede/patch-1
Missing the end pointer reference solves #5760
This commit is contained in:
commit
63f5429d28
|
@ -7,6 +7,7 @@
|
||||||
* Extend PWM resolution from 8 to 10 bits for low brightness lights
|
* Extend PWM resolution from 8 to 10 bits for low brightness lights
|
||||||
* Allow all 5 PWM channels individually adressable with LEDs. (#5741)
|
* Allow all 5 PWM channels individually adressable with LEDs. (#5741)
|
||||||
* Fixed inversion of WC/WW channels, back to RGBCW
|
* Fixed inversion of WC/WW channels, back to RGBCW
|
||||||
|
* Fixed the Unescape() function and the SendSerial3 behaviour
|
||||||
*
|
*
|
||||||
* 6.5.0.8 20190413
|
* 6.5.0.8 20190413
|
||||||
* Add Tuya Dimmer 10 second heartbeat serial packet required by some Tuya dimmer secondary MCUs
|
* Add Tuya Dimmer 10 second heartbeat serial packet required by some Tuya dimmer secondary MCUs
|
||||||
|
|
|
@ -353,7 +353,7 @@ char* Unescape(char* buffer, uint16_t* size)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
*size = end_size;
|
*size = end_size;
|
||||||
|
*write++ = 0; // add the end string pointer reference
|
||||||
// AddLogBuffer(LOG_LEVEL_DEBUG, (uint8_t*)buffer, *size);
|
// AddLogBuffer(LOG_LEVEL_DEBUG, (uint8_t*)buffer, *size);
|
||||||
|
|
||||||
return buffer;
|
return buffer;
|
||||||
|
|
Loading…
Reference in New Issue