summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2007-08-01 20:21:34 +0000
committerJens Arnold <amiconn@rockbox.org>2007-08-01 20:21:34 +0000
commitffb3dfd241a537fb7323507f8ab34a512437c7d2 (patch)
tree8487ee5eb09a719988ffbcdb55aeed9235cd5633 /apps
parent39357e9235aba8527aab5edf6aaf5cbfe2891eb0 (diff)
downloadrockbox-ffb3dfd241a537fb7323507f8ab34a512437c7d2.tar.gz
rockbox-ffb3dfd241a537fb7323507f8ab34a512437c7d2.zip
Fix some places for USB_NONE. Still some more complex cases left though.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14122 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/misc.c8
-rw-r--r--apps/misc.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/apps/misc.c b/apps/misc.c
index e72f19eda9..acc1378ae5 100644
--- a/apps/misc.c
+++ b/apps/misc.c
@@ -64,7 +64,7 @@
64#include "misc.h" 64#include "misc.h"
65 65
66#ifdef BOOTFILE 66#ifdef BOOTFILE
67#ifndef USB_IPODSTYLE 67#if !defined(USB_NONE) && !defined(USB_IPODSTYLE)
68#include "textarea.h" 68#include "textarea.h"
69#include "rolo.h" 69#include "rolo.h"
70#include "yesno.h" 70#include "yesno.h"
@@ -842,13 +842,13 @@ long default_event_handler_ex(long event, void (*callback)(void *), void *parame
842 scrobbler_flush_cache(); 842 scrobbler_flush_cache();
843 system_flush(); 843 system_flush();
844#ifdef BOOTFILE 844#ifdef BOOTFILE
845#ifndef USB_IPODSTYLE 845#if !defined(USB_NONE) && !defined(USB_IPODSTYLE)
846 check_bootfile(false); /* gets initial size */ 846 check_bootfile(false); /* gets initial size */
847#endif 847#endif
848#endif 848#endif
849 usb_screen(); 849 usb_screen();
850#ifdef BOOTFILE 850#ifdef BOOTFILE
851#ifndef USB_IPODSTYLE 851#if !defined(USB_NONE) && !defined(USB_IPODSTYLE)
852 check_bootfile(true); 852 check_bootfile(true);
853#endif 853#endif
854#endif 854#endif
@@ -944,7 +944,7 @@ int get_replaygain_mode(bool have_track_gain, bool have_album_gain)
944#endif 944#endif
945 945
946#ifdef BOOTFILE 946#ifdef BOOTFILE
947#ifndef USB_IPODSTYLE 947#if !defined(USB_NONE) && !defined(USB_IPODSTYLE)
948/* 948/*
949 memorize/compare details about the BOOTFILE 949 memorize/compare details about the BOOTFILE
950 we don't use dircache because it may not be up to date after 950 we don't use dircache because it may not be up to date after
diff --git a/apps/misc.h b/apps/misc.h
index 25937fae29..b1af859aee 100644
--- a/apps/misc.h
+++ b/apps/misc.h
@@ -101,7 +101,7 @@ int get_replaygain_mode(bool have_track_gain, bool have_album_gain);
101#endif 101#endif
102 102
103#ifdef BOOTFILE 103#ifdef BOOTFILE
104#ifndef USB_IPODSTYLE 104#if !defined(USB_NONE) && !defined(USB_IPODSTYLE)
105void check_bootfile(bool do_rolo); 105void check_bootfile(bool do_rolo);
106#endif 106#endif
107#endif 107#endif