summaryrefslogtreecommitdiff
path: root/firmware/export
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/export')
-rw-r--r--firmware/export/audio.h2
-rw-r--r--firmware/export/config-e200.h3
-rw-r--r--firmware/export/config-ifp7xx.h3
-rw-r--r--firmware/export/config-ipodnano.h3
-rw-r--r--firmware/export/config-ondiofm.h3
-rw-r--r--firmware/export/config-ondiosp.h3
6 files changed, 17 insertions, 0 deletions
diff --git a/firmware/export/audio.h b/firmware/export/audio.h
index e6fed90..9330765 100644
--- a/firmware/export/audio.h
+++ b/firmware/export/audio.h
@@ -96,7 +96,9 @@ struct mp3entry* audio_next_track(void);
bool audio_has_changed_track(void);
void audio_get_debugdata(struct audio_debug *dbgdata);
void audio_set_crossfade(int type);
+#ifndef HAVE_FLASH_STORAGE
void audio_set_buffer_margin(int seconds);
+#endif
unsigned int audio_error(void);
void audio_error_clear(void);
int audio_get_file_pos(void);
diff --git a/firmware/export/config-e200.h b/firmware/export/config-e200.h
index bbf4ce0..b59974a 100644
--- a/firmware/export/config-e200.h
+++ b/firmware/export/config-e200.h
@@ -84,6 +84,9 @@
#define BATTERY_CAPACITY_DEFAULT 750 /* default battery capacity */
+/* define this if you have a flash memory storage */
+#define HAVE_FLASH_STORAGE
+
/** Non-simulator section **/
#ifndef SIMULATOR
diff --git a/firmware/export/config-ifp7xx.h b/firmware/export/config-ifp7xx.h
index 435b6ef..89b2228 100644
--- a/firmware/export/config-ifp7xx.h
+++ b/firmware/export/config-ifp7xx.h
@@ -57,6 +57,9 @@
#define MAX_CONTRAST_SETTING 63
#define DEFAULT_CONTRAST_SETTING 40
+/* define this if you have a flash memory storage */
+#define HAVE_FLASH_STORAGE
+
#ifndef SIMULATOR
/* Define this if you have a Philips PNX0101 */
diff --git a/firmware/export/config-ipodnano.h b/firmware/export/config-ipodnano.h
index edf7f2d..546d9b8 100644
--- a/firmware/export/config-ipodnano.h
+++ b/firmware/export/config-ipodnano.h
@@ -70,6 +70,9 @@
/* We can fade the backlight by using PWM */
#define HAVE_BACKLIGHT_PWM_FADING
+/* define this if you have a flash memory storage */
+#define HAVE_FLASH_STORAGE
+
#ifndef SIMULATOR
/* Define this if you have a PortalPlayer PP5022 */
diff --git a/firmware/export/config-ondiofm.h b/firmware/export/config-ondiofm.h
index ea806a4..93c0fcc 100644
--- a/firmware/export/config-ondiofm.h
+++ b/firmware/export/config-ondiofm.h
@@ -48,6 +48,9 @@
#define BATTERY_CAPACITY_DEFAULT 1000 /* default battery capacity */
+/* define this if you have a flash memory storage */
+#define HAVE_FLASH_STORAGE
+
#ifndef SIMULATOR
/* Define this if you have a SH7034 */
diff --git a/firmware/export/config-ondiosp.h b/firmware/export/config-ondiosp.h
index 1d3e98a..22673e8 100644
--- a/firmware/export/config-ondiosp.h
+++ b/firmware/export/config-ondiosp.h
@@ -37,6 +37,9 @@
#define BATTERY_CAPACITY_DEFAULT 1000 /* default battery capacity */
+/* define this if you have a flash memory storage */
+#define HAVE_FLASH_STORAGE
+
#ifndef SIMULATOR
/* Define this if you have a SH7034 */