1
0
Fork 0
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:
Michael Sparmann 2010-03-13 21:35:53 +00:00
parent 9859381c08
commit 0d6784fee2

View file

@ -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;
}