mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 02:52:11 +01:00
Reduce the download buffer size to reduce memory issues.
This commit is contained in:
parent
13aff49479
commit
306e955a0b
1 changed files with 2 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ extern rebootDelay_t rebootDelay;
|
|||
extern Web webServer;
|
||||
|
||||
|
||||
#define MAX_BUFF_SIZE 8192
|
||||
#define MAX_BUFF_SIZE 4096
|
||||
void GitRelease::setProperty(const char *key, const char *val) {
|
||||
if(strcmp(key, "id") == 0) this->id = atol(val);
|
||||
else if(strcmp(key, "draft") == 0) this->draft = toBoolean(val, false);
|
||||
|
|
@ -371,6 +371,7 @@ int8_t GitUpdater::downloadFile() {
|
|||
Serial.printf("End update %s\n", this->currentFile);
|
||||
|
||||
}
|
||||
delete client;
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue