mirror of
https://github.com/rstrouse/ESPSomfy-RTS.git
synced 2025-12-13 02:52:11 +01:00
Handle C3 ints
This commit is contained in:
parent
026f9315b1
commit
5a8c09ee9f
4 changed files with 7 additions and 7 deletions
|
|
@ -427,10 +427,10 @@ void GitUpdater::emitDownloadProgress(uint8_t num, size_t total, size_t loaded,
|
|||
JsonSockEvent *json = sockEmit.beginEmit(evt);
|
||||
json->beginObject();
|
||||
json->addElem("ver", this->targetRelease);
|
||||
json->addElem("part", this->partition);
|
||||
json->addElem("part", (int16_t)this->partition);
|
||||
json->addElem("file", this->currentFile);
|
||||
json->addElem("total", total);
|
||||
json->addElem("loaded", loaded);
|
||||
json->addElem("total", (uint32_t)total);
|
||||
json->addElem("loaded", (uint32_t)loaded);
|
||||
json->addElem("error", this->error);
|
||||
json->endObject();
|
||||
sockEmit.endEmit(num);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue