freemyipod r327 - Code Review

Jump to: navigation, search
Repository:freemyipod
Revision:r326‎ | r327 | r328 >
Date:01:43, 13 December 2010
Author:theseven
Status:new
Tags:
Comment:
emBIOS: Spin down storage devices before powering off
Modified paths:
  • /embios/trunk/shutdown.c (modified) (history)

Diff [purge]

Index: embios/trunk/shutdown.c
@@ -43,6 +43,9 @@
4444 #ifdef HAVE_LCD_SHUTDOWN
4545 lcd_shutdown();
4646 #endif
 47+#ifdef HAVE_STORAGE
 48+ storage_sleepnow();
 49+#endif
4750 }
4851 #ifdef HAVE_LCD
4952 else displaylcd_sync();