Reorder Updater init
This commit is contained in:
parent
d650ac6c3c
commit
bac560901f
@ -162,12 +162,12 @@ class UpdateClass {
|
|||||||
bool _verifyHeader(uint8_t data);
|
bool _verifyHeader(uint8_t data);
|
||||||
bool _verifyEnd();
|
bool _verifyEnd();
|
||||||
|
|
||||||
THandlerFunction_Progress _progress_callback;
|
|
||||||
|
|
||||||
uint8_t _error;
|
uint8_t _error;
|
||||||
uint8_t *_buffer;
|
uint8_t *_buffer;
|
||||||
size_t _bufferLen;
|
size_t _bufferLen;
|
||||||
size_t _size;
|
size_t _size;
|
||||||
|
THandlerFunction_Progress _progress_callback;
|
||||||
uint32_t _progress;
|
uint32_t _progress;
|
||||||
uint32_t _command;
|
uint32_t _command;
|
||||||
const esp_partition_t* _partition;
|
const esp_partition_t* _partition;
|
||||||
|
@ -68,10 +68,10 @@ UpdateClass::UpdateClass()
|
|||||||
, _buffer(0)
|
, _buffer(0)
|
||||||
, _bufferLen(0)
|
, _bufferLen(0)
|
||||||
, _size(0)
|
, _size(0)
|
||||||
|
, _progress_callback(NULL)
|
||||||
, _progress(0)
|
, _progress(0)
|
||||||
, _command(U_FLASH)
|
, _command(U_FLASH)
|
||||||
, _partition(NULL)
|
, _partition(NULL)
|
||||||
, _progress_callback(NULL)
|
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user