We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9effdb commit d562a5fCopy full SHA for d562a5f
demos/mqtt/mqtt_demo_basic_tls/mqtt_demo_basic_tls.c
@@ -499,7 +499,7 @@ static int handlePublishResend( MQTTContext_t * pMqttContext )
499
MQTTStatus_t mqttStatus = MQTTSuccess;
500
uint8_t index = 0U;
501
MQTTStateCursor_t cursor = MQTT_STATE_CURSOR_INITIALIZER;
502
- uint16_t packetIdToResend = 0;
+ uint16_t packetIdToResend = MQTT_PACKET_ID_INVALID;
503
504
assert( pMqttContext != NULL );
505
assert( outgoingPublishPackets != NULL );
0 commit comments