1
0
mirror of https://github.com/FreeRTOS/coreMQTT synced 2025-10-24 11:08:21 +08:00

Fix typo in MQTT_Unsubscribe code example (#122)

This fixes a typo in the code example that was raised in issue #119
This commit is contained in:
Oscar Michael Abrina
2020-12-04 10:00:31 -08:00
committed by GitHub
parent ca492a40f0
commit 8de05fa001

View File

@@ -560,7 +560,7 @@ MQTTStatus_t MQTT_Ping( MQTTContext_t * pContext );
* // Obtain a new packet id for the unsubscribe request.
* packetId = MQTT_GetPacketId( pContext );
*
* status = MQTT_Subscribe( pContext, &unsubscribeList[ 0 ], NUMBER_OF_SUBSCRIPTIONS, packetId );
* status = MQTT_Unsubscribe( pContext, &unsubscribeList[ 0 ], NUMBER_OF_SUBSCRIPTIONS, packetId );
*
* if( status == MQTTSuccess )
* {