From 6807d80733e901883fd003005e3662e8c47f022f Mon Sep 17 00:00:00 2001 From: Kyle Secord Date: Tue, 17 Apr 2018 21:56:11 -0400 Subject: [PATCH] Typo in aws_iot_config.h -breaks compilation when 'Override Shadow RX buffer size' is enabled via menuconfig Merges https://github.com/espressif/esp-idf/pull/1869 --- components/aws_iot/include/aws_iot_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/aws_iot/include/aws_iot_config.h b/components/aws_iot/include/aws_iot_config.h index 14a1ced27e..c98f7dea22 100644 --- a/components/aws_iot/include/aws_iot_config.h +++ b/components/aws_iot/include/aws_iot_config.h @@ -43,7 +43,7 @@ // Thing Shadow specific configs #ifdef CONFIG_AWS_IOT_OVERRIDE_THING_SHADOW_RX_BUFFER -#define SHADOW_MAX_SIZE_OF_RX_BUFFER CONFIG AWS_IOT_SHADOW_MAX_SIZE_OF_RX_BUFFER ///< Maximum size of the SHADOW buffer to store the received Shadow message, including NULL termianting byte +#define SHADOW_MAX_SIZE_OF_RX_BUFFER CONFIG_AWS_IOT_SHADOW_MAX_SIZE_OF_RX_BUFFER ///< Maximum size of the SHADOW buffer to store the received Shadow message, including NULL terminating byte #else #define SHADOW_MAX_SIZE_OF_RX_BUFFER (AWS_IOT_MQTT_RX_BUF_LEN + 1) #endif