From 431b34f57ae0f075adf687d089fc6f6ee022de20 Mon Sep 17 00:00:00 2001 From: Dakshit Babbar Date: Wed, 11 Sep 2024 10:56:17 +0530 Subject: [PATCH] Resolve Spellcheck and Doxygen Tests --- source/core_mqtt.c | 2 +- source/include/core_mqtt.h | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/source/core_mqtt.c b/source/core_mqtt.c index efada68d..b4f09b40 100644 --- a/source/core_mqtt.c +++ b/source/core_mqtt.c @@ -3311,7 +3311,7 @@ MQTTStatus_t MQTT_Disconnect( MQTTContext_t * pContext ) pContext->index = 0; ( void ) memset( pContext->networkBuffer.pBuffer, 0, pContext->networkBuffer.size ); - LogError( ( "MQTT Connection Disconnected Successfuly" ) ); + LogError( ( "MQTT Connection Disconnected Successfully" ) ); /* Here we do not use vectors as the disconnect packet has fixed fields * which do not reside in user provided buffers. Thus, it can be sent diff --git a/source/include/core_mqtt.h b/source/include/core_mqtt.h index 4f8e7223..e641df49 100644 --- a/source/include/core_mqtt.h +++ b/source/include/core_mqtt.h @@ -109,7 +109,7 @@ typedef enum MQTTConnectionStatus { MQTTNotConnected, /**< @brief MQTT Connection is inactive. */ MQTTConnected, /**< @brief MQTT Connection is active. */ - MQTTDisconnectPending /**< @brief MQTT Connection needs to be disconnected as a transport error has occured. */ + MQTTDisconnectPending /**< @brief MQTT Connection needs to be disconnected as a transport error has occurred. */ } MQTTConnectionStatus_t; /** @@ -422,8 +422,8 @@ MQTTStatus_t MQTT_InitStatefulQoS( MQTTContext_t * pContext, * * @return #MQTTBadParameter if invalid parameters are passed; * #MQTTStatusConnected if the MQTT connection is established with the broker. - * #MQTTSatusNotConnected if the MQTT connection is broker. - * #MQTTSatusDisconnectPending if Transport Interface has failed and MQTT connection needs to be closed. + * #MQTTStatusNotConnected if the MQTT connection is broker. + * #MQTTStatusDisconnectPending if Transport Interface has failed and MQTT connection needs to be closed. * * Example * @code{c}