1
0
mirror of https://github.com/marqs85/ossc.git synced 2024-06-01 17:41:37 +00:00
ossc/ip/altera_epcq_controller_mod/HAL
Ari Sundholm 0b495b234c altera_epcq_controller_mod.c: Fix faulty read/write end address check.
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.
2020-11-06 14:55:56 +02:00
..
inc Initial public release (FW 0.64) 2016-02-23 01:03:50 +02:00
src altera_epcq_controller_mod.c: Fix faulty read/write end address check. 2020-11-06 14:55:56 +02:00