summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/ata.h2
-rw-r--r--firmware/export/config.h4
2 files changed, 5 insertions, 1 deletions
diff --git a/firmware/export/ata.h b/firmware/export/ata.h
index 697935cafc..d3323308e8 100644
--- a/firmware/export/ata.h
+++ b/firmware/export/ata.h
@@ -47,7 +47,7 @@ extern int ata_init(void);
47extern int ata_read_sectors(IF_MV2(int drive,) unsigned long start, int count, void* buf); 47extern int ata_read_sectors(IF_MV2(int drive,) unsigned long start, int count, void* buf);
48extern int ata_write_sectors(IF_MV2(int drive,) unsigned long start, int count, const void* buf); 48extern int ata_write_sectors(IF_MV2(int drive,) unsigned long start, int count, const void* buf);
49extern void ata_spin(void); 49extern void ata_spin(void);
50#if defined(CONFIG_LED) && (CONFIG_LED == LED_REAL) 50#if (CONFIG_LED == LED_REAL)
51extern void ata_set_led_enabled(bool enabled); 51extern void ata_set_led_enabled(bool enabled);
52#endif 52#endif
53extern unsigned short* ata_get_identify(void); 53extern unsigned short* ata_get_identify(void);
diff --git a/firmware/export/config.h b/firmware/export/config.h
index aaaac686b1..0a59c0bf89 100644
--- a/firmware/export/config.h
+++ b/firmware/export/config.h
@@ -226,6 +226,10 @@
226#define CONFIG_USBOTG 0 226#define CONFIG_USBOTG 0
227#endif 227#endif
228 228
229#ifndef CONFIG_LED
230#define CONFIG_LED 0
231#endif
232
229/* Enable the directory cache and tagcache in RAM if we have 233/* Enable the directory cache and tagcache in RAM if we have
230 * plenty of RAM. Both features can be enabled independently. */ 234 * plenty of RAM. Both features can be enabled independently. */
231#if ((defined(MEMORYSIZE) && (MEMORYSIZE > 8)) || MEM > 8) && \ 235#if ((defined(MEMORYSIZE) && (MEMORYSIZE > 8)) || MEM > 8) && \