mirror of
https://github.com/nodemcu/nodemcu-firmware.git
synced 2025-01-16 20:52:57 +08:00
Trying to fix
Problem with multiple MQTT subscriptions #459 https://github.com/nodemcu/nodemcu-firmware/issues/459 Fix possible wrong buffer pointer increment.
This commit is contained in:
parent
1eea5ab1a0
commit
fdcb982351
@ -374,7 +374,7 @@ READPACKET:
|
||||
if(mud->mqtt_state.message_length < mud->mqtt_state.message_length_read)
|
||||
{
|
||||
length -= mud->mqtt_state.message_length;
|
||||
pdata += mud->mqtt_state.message_length;
|
||||
in_buffer += mud->mqtt_state.message_length;
|
||||
|
||||
NODE_DBG("Get another published message\r\n");
|
||||
goto READPACKET;
|
||||
|
Loading…
x
Reference in New Issue
Block a user