From: Kyle Secord Date: Wed, 18 Apr 2018 01:56:11 +0000 (-0400) Subject: Typo in aws_iot_config.h X-Git-Tag: v3.1-beta1~231^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6807d80733e901883fd003005e3662e8c47f022f;p=esp-idf 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 --- 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