We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43f4e25 commit 77b60f4Copy full SHA for 77b60f4
components/storage/blockdevice/COMPONENT_FLASHIAP/FlashIAPBlockDevice.cpp
@@ -258,6 +258,7 @@ const char *FlashIAPBlockDevice::get_type() const
258
259
bool FlashIAPBlockDevice::is_valid_erase(bd_addr_t addr, bd_size_t size) const
260
{
261
+ /* Calculate address alignment for the full flash */
262
bd_addr_t base_addr = addr + (_base - _flash.get_flash_start());
263
264
return (
0 commit comments