diff --git a/main/demo_tasks/ota_over_mqtt_demo/ota_over_mqtt_demo.c b/main/demo_tasks/ota_over_mqtt_demo/ota_over_mqtt_demo.c index 1a568a3..49818f6 100644 --- a/main/demo_tasks/ota_over_mqtt_demo/ota_over_mqtt_demo.c +++ b/main/demo_tasks/ota_over_mqtt_demo/ota_over_mqtt_demo.c @@ -1186,7 +1186,7 @@ static void processOTAEvents( void ) } else { - uint8_t decodedData[ mqttFileDownloader_CONFIG_BLOCK_SIZE ]; + static uint8_t decodedData[ mqttFileDownloader_CONFIG_BLOCK_SIZE ]; size_t decodedDataLength = 0; MQTTFileDownloaderStatus_t xReturnStatus; int16_t result = -1;