mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
Bring the iPod Nano 2G shutdown FTL panics back.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23126 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
461903d80e
commit
6b17295926
2 changed files with 16 additions and 3 deletions
|
|
@ -102,7 +102,9 @@ long nand_last_disk_activity(void)
|
|||
int nand_flush(void)
|
||||
{
|
||||
last_disk_activity = current_tick;
|
||||
return ftl_sync();
|
||||
int rc = ftl_sync();
|
||||
if (rc != 0) panicf("Failed to unmount flash: %X", rc);
|
||||
return rc;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue