mirror of
https://git.code.sf.net/p/newrpl/sources
synced 2024-11-16 19:51:25 +01:00
Fixed error in NAND ecc4 correction
This commit is contained in:
parent
d3ce7f91bf
commit
9a84d83e19
1 changed files with 1 additions and 1 deletions
|
@ -166,7 +166,7 @@ static void NANDChangeReadColumn(unsigned int column)
|
|||
// Returns 1 if ok, 0 if uncorrectable
|
||||
static int NANDECC4Correct(uint8_t *data)
|
||||
{
|
||||
int count = (*NFECCERR0 >> 26) & 0x03;
|
||||
int count = (*NFECCERR0 >> 26) & 0x07;
|
||||
|
||||
if (count == 0) {
|
||||
return 1;
|
||||
|
|
Loading…
Reference in a new issue