forked from len0rd/rockbox
Reset the Nano2G NAND idle timer also when leaving a NAND function, not just when entering them.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25151 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9859381c08
commit
0d6784fee2
1 changed files with 1 additions and 0 deletions
|
@ -106,6 +106,7 @@ static uint8_t nand_ecc[0x30] __attribute__((aligned(16)));
|
|||
uint32_t nand_unlock(uint32_t rc)
|
||||
{
|
||||
led(false);
|
||||
nand_last_activity_value = current_tick;
|
||||
mutex_unlock(&nand_mtx);
|
||||
return rc;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue