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);