Add space for '\0'

ReceiveThreadFunction receives max 1024 bytes and then adds '\0' to it, so the buffer needs to be 1025 chars.
master
Mark Hermeling 2 years ago committed by Adam Honse
parent 27a37f65ea
commit 7d37ec60b9

@ -173,7 +173,7 @@ void PhilipsWizController::SetScene(int scene, unsigned char brightness)
void PhilipsWizController::ReceiveThreadFunction()
{
char recv_buf[1024];
char recv_buf[1025];
while(ReceiveThreadRun.load())
{

Loading…
Cancel
Save