Skip to content

Commit

Permalink
Increase image write offset counter to 4 bytes (#13616)
Browse files Browse the repository at this point in the history
  • Loading branch information
selissia authored and pull[bot] committed Mar 3, 2022
1 parent cc2a3a9 commit 6e668e8
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 6e668e8

Please sign in to comment.