Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 20th, 2012  |  syntax: None  |  size: 0.97 KB  |  hits: 35  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. diff --git a/firmware/export/ata_idle_notify.h b/firmware/export/ata_idle_notify.h
  2. index 1577b2f..7afe4cf 100644
  3. --- a/firmware/export/ata_idle_notify.h
  4. +++ b/firmware/export/ata_idle_notify.h
  5. @@ -43,10 +43,11 @@ enum {
  6.      DISK_EVENT_SPINUP = (EVENT_CLASS_DISK|1),
  7.  };
  8.  
  9. -#define USING_STORAGE_CALLBACK  ((CONFIG_STORAGE & STORAGE_NAND) \
  10. -                                && (CONFIG_NAND == NAND_IFP7XX)) \
  11. -                                && !defined(BOOTLOADER) || \
  12. -                                (CONFIG_PLATFORM & PLATFORM_HOSTED)
  13. +#define USING_STORAGE_CALLBACK  ((CONFIG_PLATFORM & PLATFORM_NATIVE) \
  14. +                            && ! ((CONFIG_STORAGE & STORAGE_NAND) \
  15. +                               && (CONFIG_NAND == NAND_IFP7XX)) \
  16. +                            && !defined(BOOTLOADER)) || \
  17. +                            (CONFIG_PLATFORM & PLATFORM_HOSTED)
  18.  
  19.  extern void register_storage_idle_func(void (*function)(void *data));
  20.  #if USING_STORAGE_CALLBACK