Skip to content

Commit

Permalink
Merge pull request #103 from chinglee-iot/update-ota-demo-stack-size
Browse files Browse the repository at this point in the history
Use static buffer for OTA decoded buffer
  • Loading branch information
ActoryOu authored Aug 2, 2024
2 parents ee2901e + cd63e0e commit 69d1309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/demo_tasks/ota_over_mqtt_demo/ota_over_mqtt_demo.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 69d1309

Please sign in to comment.