Skip to content

Commit 69d1309

Browse files
authored
Merge pull request #103 from chinglee-iot/update-ota-demo-stack-size
Use static buffer for OTA decoded buffer
2 parents ee2901e + cd63e0e commit 69d1309

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main/demo_tasks/ota_over_mqtt_demo/ota_over_mqtt_demo.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1186,7 +1186,7 @@ static void processOTAEvents( void )
11861186
}
11871187
else
11881188
{
1189-
uint8_t decodedData[ mqttFileDownloader_CONFIG_BLOCK_SIZE ];
1189+
static uint8_t decodedData[ mqttFileDownloader_CONFIG_BLOCK_SIZE ];
11901190
size_t decodedDataLength = 0;
11911191
MQTTFileDownloaderStatus_t xReturnStatus;
11921192
int16_t result = -1;

0 commit comments

Comments
 (0)