summaryrefslogtreecommitdiff
path: root/apps/screens.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/screens.c')
-rw-r--r--apps/screens.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/screens.c b/apps/screens.c
index d8ce695a9a..753b666902 100644
--- a/apps/screens.c
+++ b/apps/screens.c
@@ -68,7 +68,7 @@
68#include <bitmaps/remote_usblogo.h> 68#include <bitmaps/remote_usblogo.h>
69#endif 69#endif
70 70
71#ifdef HAVE_MMC 71#if (CONFIG_STORAGE & STORAGE_MMC)
72#include "ata_mmc.h" 72#include "ata_mmc.h"
73#endif 73#endif
74#if CONFIG_CODEC == SWCODEC 74#if CONFIG_CODEC == SWCODEC
@@ -145,9 +145,9 @@ void usb_screen(void)
145 usb_acknowledge(SYS_USB_CONNECTED_ACK); 145 usb_acknowledge(SYS_USB_CONNECTED_ACK);
146 while(usb_wait_for_disconnect_w_tmo(&button_queue, HZ)) { 146 while(usb_wait_for_disconnect_w_tmo(&button_queue, HZ)) {
147 if(usb_inserted()) { 147 if(usb_inserted()) {
148#ifdef HAVE_MMC /* USB-MMC bridge can report activity */ 148#if (CONFIG_STORAGE & STORAGE_MMC) /* USB-MMC bridge can report activity */
149 led(mmc_usb_active(HZ)); 149 led(mmc_usb_active(HZ));
150#endif /* HAVE_MMC */ 150#endif /* STORAGE_MMC */
151 gui_syncstatusbar_draw(&statusbars, false); 151 gui_syncstatusbar_draw(&statusbars, false);
152 } 152 }
153 } 153 }
@@ -161,7 +161,7 @@ void usb_screen(void)
161#endif /* USB_NONE */ 161#endif /* USB_NONE */
162} 162}
163 163
164#ifdef HAVE_MMC 164#if (CONFIG_STORAGE & STORAGE_MMC)
165int mmc_remove_request(void) 165int mmc_remove_request(void)
166{ 166{
167 struct queue_event ev; 167 struct queue_event ev;