Reorder Updater init

This commit is contained in:
me-no-dev 2018-01-18 01:19:30 +02:00
parent d650ac6c3c
commit bac560901f
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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)
{
}