Skip to content

Commit

Permalink
Add indentation and update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
muneebahmed10 committed Jul 22, 2021
1 parent 148ca05 commit 70f578a
Show file tree
Hide file tree
Showing 6 changed files with 21 additions and 8 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## v1.1.2 (July 2021)

### Updates
- [#168](https://github.com/FreeRTOS/coreMQTT/pull/168) Add header guards for C++ linkage.
- [#163](https://github.com/FreeRTOS/coreMQTT/pull/163) Fix bug to check for ping responses within `MQTT_PINGRESP_TIMEOUT_MS` instead of the entire keep alive interval.
- [#159](https://github.com/FreeRTOS/coreMQTT/pull/159) Add more checks for malformed packets when deserializing acknowledgments.

Expand Down
4 changes: 2 additions & 2 deletions source/include/core_mqtt.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

/* *INDENT-OFF* */
#ifdef __cplusplus
extern "C" {
extern "C" {
#endif
/* *INDENT-ON* */

Expand Down Expand Up @@ -895,7 +895,7 @@ const char * MQTT_Status_strerror( MQTTStatus_t status );

/* *INDENT-OFF* */
#ifdef __cplusplus
}
}
#endif
/* *INDENT-ON* */

Expand Down
12 changes: 12 additions & 0 deletions source/include/core_mqtt_config_defaults.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@
#ifndef CORE_MQTT_CONFIG_DEFAULTS_H_
#define CORE_MQTT_CONFIG_DEFAULTS_H_

/* *INDENT-OFF* */
#ifdef __cplusplus
extern "C" {
#endif
/* *INDENT-ON* */

/* The macro definition for MQTT_DO_NOT_USE_CUSTOM_CONFIG is for Doxygen
* documentation only. */

Expand Down Expand Up @@ -247,4 +253,10 @@
#define LogDebug( message )
#endif

/* *INDENT-OFF* */
#ifdef __cplusplus
}
#endif
/* *INDENT-ON* */

#endif /* ifndef CORE_MQTT_CONFIG_DEFAULTS_H_ */
4 changes: 2 additions & 2 deletions source/include/core_mqtt_serializer.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

/* *INDENT-OFF* */
#ifdef __cplusplus
extern "C" {
extern "C" {
#endif
/* *INDENT-ON */

Expand Down Expand Up @@ -1179,7 +1179,7 @@ MQTTStatus_t MQTT_GetIncomingPacketTypeAndLength( TransportRecv_t readFunc,

/* *INDENT-OFF* */
#ifdef __cplusplus
}
}
#endif
/* *INDENT-ON* */

Expand Down
4 changes: 2 additions & 2 deletions source/include/core_mqtt_state.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

/* *INDENT-OFF* */
#ifdef __cplusplus
extern "C" {
extern "C" {
#endif
/* *INDENT-ON* */

Expand Down Expand Up @@ -283,7 +283,7 @@ const char * MQTT_State_strerror( MQTTPublishState_t state );

/* *INDENT-OFF* */
#ifdef __cplusplus
}
}
#endif
/* *INDENT-ON* */

Expand Down
4 changes: 2 additions & 2 deletions source/interface/transport_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

/* *INDENT-OFF* */
#ifdef __cplusplus
extern "C" {
extern "C" {
#endif
/* *INDENT-ON* */

Expand Down Expand Up @@ -258,7 +258,7 @@ typedef struct TransportInterface

/* *INDENT-OFF* */
#ifdef __cplusplus
}
}
#endif
/* *INDENT-ON* */

Expand Down

0 comments on commit 70f578a

Please sign in to comment.