diff --git a/apps/settings.c b/apps/settings.c index 936aa2233e..0780cf2a72 100644 --- a/apps/settings.c +++ b/apps/settings.c @@ -69,8 +69,9 @@ void dac_line_in(bool enable); #endif struct user_settings global_settings; +#ifdef HAVE_RECORDING const char rec_base_directory[] = REC_BASE_DIR; - +#endif #define CONFIG_BLOCK_VERSION 21 @@ -155,8 +156,10 @@ Rest of config block, only saved to disk: /* some sets of values which are used more than once, to save memory */ static const char off_on[] = "off,on"; static const char off_on_ask[] = "off,on,ask"; -static const char graphic_numeric[] = "graphic,numeric"; static const char off_number_spell_hover[] = "off,number,spell,hover"; +#ifdef HAVE_LCD_BITMAP +static const char graphic_numeric[] = "graphic,numeric"; +#endif #ifdef HAVE_RECORDING /* keep synchronous to trig_durations and diff --git a/firmware/mpeg.c b/firmware/mpeg.c index 115d590f65..5496ace9ac 100644 --- a/firmware/mpeg.c +++ b/firmware/mpeg.c @@ -1019,11 +1019,13 @@ static bool swap_one_chunk(void) } #endif +#ifdef HAVE_RECORDING const unsigned char empty_id3_header[] = { 'I', 'D', '3', 0x03, 0x00, 0x00, 0x00, 0x00, 0x1f, 0x76 /* Size is 4096 minus 10 bytes for the header */ }; +#endif static void mpeg_thread(void) {