summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/talk.c3
-rw-r--r--firmware/export/config/archosondiofm.h2
-rw-r--r--firmware/export/config/archosondiosp.h2
3 files changed, 5 insertions, 2 deletions
diff --git a/apps/talk.c b/apps/talk.c
index e1eea4d3c4..bfad99fbd2 100644
--- a/apps/talk.c
+++ b/apps/talk.c
@@ -113,8 +113,7 @@ struct queue_entry /* one entry of the internal queue */
/***************** Globals *****************/
-#if (CONFIG_CODEC == SWCODEC && MEMORYSIZE <= 2) \
- || (CONFIG_STORAGE & STORAGE_MMC)
+#if (CONFIG_CODEC == SWCODEC && MEMORYSIZE <= 2) || defined(ONDIO_SERIES)
/* On low memory swcodec targets the entire voice file wouldn't fit in memory
* together with codecs, so we load clips each time they are accessed.
* The Ondios have slow storage access and loading the entire voice file would
diff --git a/firmware/export/config/archosondiofm.h b/firmware/export/config/archosondiofm.h
index d735f1f0a1..516845e49d 100644
--- a/firmware/export/config/archosondiofm.h
+++ b/firmware/export/config/archosondiofm.h
@@ -3,6 +3,8 @@
#define MODEL_NAME "Ondio FM"
+#define ONDIO_SERIES
+
/* Define bitmask of input sources - recordable bitmask can be defined
explicitly if different */
#define INPUT_SRC_CAPS (SRC_CAP_MIC | SRC_CAP_LINEIN)
diff --git a/firmware/export/config/archosondiosp.h b/firmware/export/config/archosondiosp.h
index 61116033d7..ba957f7f44 100644
--- a/firmware/export/config/archosondiosp.h
+++ b/firmware/export/config/archosondiosp.h
@@ -3,6 +3,8 @@
#define MODEL_NAME "Ondio SP"
+#define ONDIO_SERIES
+
/* define this if you can flip your LCD */
#define HAVE_LCD_FLIP