From c016048ccc095245e0a90b0de38c8719a048475c Mon Sep 17 00:00:00 2001 From: fpagliughi Date: Sun, 7 Jul 2024 10:43:31 -0400 Subject: [PATCH] Fixed doc comment for MQTTAsync_disconnected --- src/MQTTAsync.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/MQTTAsync.h b/src/MQTTAsync.h index e11af048..1b69299f 100644 --- a/src/MQTTAsync.h +++ b/src/MQTTAsync.h @@ -438,8 +438,7 @@ typedef void MQTTAsync_connected(void* context, char* cause); * @param context A pointer to the context value originally passed to * MQTTAsync_setCallbacks(), which contains any application-specific context. * @param properties the properties in the disconnect packet. - * @param properties the reason code from the disconnect packet - * Currently, cause is always set to NULL. + * @param reasonCode the reason code from the disconnect packet */ typedef void MQTTAsync_disconnected(void* context, MQTTProperties* properties, enum MQTTReasonCodes reasonCode);