diff --git a/components/storage/blockdevice/COMPONENT_FLASHIAP/FlashIAPBlockDevice.cpp b/components/storage/blockdevice/COMPONENT_FLASHIAP/FlashIAPBlockDevice.cpp index 90428ec4cb..99f5b678ed 100644 --- a/components/storage/blockdevice/COMPONENT_FLASHIAP/FlashIAPBlockDevice.cpp +++ b/components/storage/blockdevice/COMPONENT_FLASHIAP/FlashIAPBlockDevice.cpp @@ -258,6 +258,7 @@ const char *FlashIAPBlockDevice::get_type() const bool FlashIAPBlockDevice::is_valid_erase(bd_addr_t addr, bd_size_t size) const { + /* Calculate address alignment for the full flash */ bd_addr_t base_addr = addr + (_base - _flash.get_flash_start()); return (