We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
embarc_osp/device/peripheral/flash/w25qxx/spi_flash_w25qxx.c
Line 267 in 67ea926
Use the size to calculate the last address needs to subtract 1: last_address = (address + size -1) & (~(dev->sector_sz - 1));
last_address = (address + size -1) & (~(dev->sector_sz - 1));
The text was updated successfully, but these errors were encountered:
@CosmicRoach could you please submit a pull-request with the proposed fix?
Sorry, something went wrong.
abrodkin
No branches or pull requests
embarc_osp/device/peripheral/flash/w25qxx/spi_flash_w25qxx.c
Line 267 in 67ea926
Use the size to calculate the last address needs to subtract 1:
last_address = (address + size -1) & (~(dev->sector_sz - 1));
The text was updated successfully, but these errors were encountered: