Skip to content

Commit

Permalink
Increase image write offset counter to 4 bytes (project-chip#13616)
Browse files Browse the repository at this point in the history
  • Loading branch information
selissia authored and step0035 committed Feb 8, 2022
1 parent 80c47e5 commit fdf13c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/platform/EFR32/OTAImageProcessorImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ namespace chip {

// Define static memebers
uint8_t OTAImageProcessorImpl::mSlotId;
uint16_t OTAImageProcessorImpl::mWriteOffset;
uint32_t OTAImageProcessorImpl::mWriteOffset;

CHIP_ERROR OTAImageProcessorImpl::PrepareDownload()
{
Expand Down
2 changes: 1 addition & 1 deletion src/platform/EFR32/OTAImageProcessorImpl.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class OTAImageProcessorImpl : public OTAImageProcessorInterface
*/
CHIP_ERROR ReleaseBlock();

static uint16_t mWriteOffset; // End of last written block
static uint32_t mWriteOffset; // End of last written block
static uint8_t mSlotId; // Bootloader storage slot
MutableByteSpan mBlock;
OTADownloader * mDownloader;
Expand Down

0 comments on commit fdf13c4

Please sign in to comment.