mirror of
https://github.com/marqs85/ossc
synced 2025-10-27 05:56:02 +03:00
In the Flash info structure, the field containing the end address of the Flash storage is documented to be non-inclusive. However, when this field is compared to the end address of a read or write, which is also non-inclusive, it is considered an error that these two values match, which is incorrect, as this would error out on an attempt to fully read/write the last page. Fix this by simply changing the >= comparison into a > one. |
||
|---|---|---|
| .. | ||
| inc | ||
| src | ||