Browse Source

Wrong messages when upgrading from web UI

fastled
Xose Pérez 7 years ago
parent
commit
3e3abdb613
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      code/espurna/web.ino

+ 1
- 1
code/espurna/web.ino View File

@ -1081,7 +1081,7 @@ int _onCertificate(void * arg, const char *filename, uint8_t **buf) {
void _onUpgrade(AsyncWebServerRequest *request) {
char buffer[10];
if (Update.hasError()) {
if (!Update.hasError()) {
sprintf_P(buffer, PSTR("OK"));
} else {
sprintf_P(buffer, PSTR("ERROR %d"), Update.getError());


Loading…
Cancel
Save