Commit bac56090 authored by me-no-dev's avatar me-no-dev

Reorder Updater init

parent d650ac6c
......@@ -162,12 +162,12 @@ class UpdateClass {
bool _verifyHeader(uint8_t data);
bool _verifyEnd();
THandlerFunction_Progress _progress_callback;
uint8_t _error;
uint8_t *_buffer;
size_t _bufferLen;
size_t _size;
THandlerFunction_Progress _progress_callback;
uint32_t _progress;
uint32_t _command;
const esp_partition_t* _partition;
......
......@@ -68,10 +68,10 @@ UpdateClass::UpdateClass()
, _buffer(0)
, _bufferLen(0)
, _size(0)
, _progress_callback(NULL)
, _progress(0)
, _command(U_FLASH)
, _partition(NULL)
, _progress_callback(NULL)
{
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment