diff options
Diffstat (limited to 'firmware/powermgmt.c')
-rw-r--r-- | firmware/powermgmt.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c index e756bac3c2..041fed0361 100644 --- a/firmware/powermgmt.c +++ b/firmware/powermgmt.c | |||
@@ -806,7 +806,12 @@ void sys_poweroff(void) | |||
806 | if (audio_status() & AUDIO_STATUS_RECORD) | 806 | if (audio_status() & AUDIO_STATUS_RECORD) |
807 | shutdown_timeout += HZ*8; | 807 | shutdown_timeout += HZ*8; |
808 | #endif | 808 | #endif |
809 | #ifdef IPOD_NANO2G | ||
810 | /* The FTL alone may take half a minute to shut down cleanly. */ | ||
811 | shutdown_timeout += HZ*60; | ||
812 | #else | ||
809 | shutdown_timeout += HZ*20; | 813 | shutdown_timeout += HZ*20; |
814 | #endif | ||
810 | } | 815 | } |
811 | 816 | ||
812 | queue_broadcast(SYS_POWEROFF, 0); | 817 | queue_broadcast(SYS_POWEROFF, 0); |