summaryrefslogtreecommitdiff
path: root/apps/debug_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r--apps/debug_menu.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c
index 26052d0b32..7a1c2a3df8 100644
--- a/apps/debug_menu.c
+++ b/apps/debug_menu.c
@@ -51,7 +51,7 @@
51#include "widgets.h" 51#include "widgets.h"
52#include "peakmeter.h" 52#include "peakmeter.h"
53#endif 53#endif
54#ifdef HAVE_FMRADIO 54#ifdef CONFIG_TUNER
55#include "radio.h" 55#include "radio.h"
56#endif 56#endif
57 57
@@ -790,7 +790,7 @@ bool dbg_mas(void)
790 return false; 790 return false;
791} 791}
792 792
793#ifdef HAVE_MAS3587F 793#if CONFIG_HWCODEC == MAS3587F
794bool dbg_mas_codec(void) 794bool dbg_mas_codec(void)
795{ 795{
796 char buf[32]; 796 char buf[32];
@@ -999,7 +999,7 @@ bool view_battery(void)
999 999
1000#endif 1000#endif
1001 1001
1002#ifdef HAVE_MAS3507D 1002#if CONFIG_HWCODEC == MAS3507D
1003bool dbg_mas_info(void) 1003bool dbg_mas_info(void)
1004{ 1004{
1005 int button; 1005 int button;
@@ -1457,7 +1457,7 @@ bool dbg_save_roms(void)
1457 return false; 1457 return false;
1458} 1458}
1459 1459
1460#ifdef HAVE_FMRADIO 1460#ifdef CONFIG_TUNER
1461extern int debug_fm_detection; 1461extern int debug_fm_detection;
1462 1462
1463bool dbg_fm_radio(void) 1463bool dbg_fm_radio(void)
@@ -1535,11 +1535,11 @@ bool debug_menu(void)
1535#endif /* HAVE_LCD_BITMAP */ 1535#endif /* HAVE_LCD_BITMAP */
1536 { "View OS stacks", dbg_os }, 1536 { "View OS stacks", dbg_os },
1537 { "Catch mem accesses", dbg_set_memory_guard }, 1537 { "Catch mem accesses", dbg_set_memory_guard },
1538#ifdef HAVE_MAS3507D 1538#if CONFIG_HWCODEC == MAS3507D
1539 { "View MAS info", dbg_mas_info }, 1539 { "View MAS info", dbg_mas_info },
1540#endif 1540#endif
1541 { "View MAS regs", dbg_mas }, 1541 { "View MAS regs", dbg_mas },
1542#ifdef HAVE_MAS3587F 1542#if CONFIG_HWCODEC == MAS3587F
1543 { "View MAS codec", dbg_mas_codec }, 1543 { "View MAS codec", dbg_mas_codec },
1544#endif 1544#endif
1545#ifdef HAVE_LCD_BITMAP 1545#ifdef HAVE_LCD_BITMAP
@@ -1560,7 +1560,7 @@ bool debug_menu(void)
1560#endif /* PM_DEBUG */ 1560#endif /* PM_DEBUG */
1561#endif /* HAVE_LCD_BITMAP */ 1561#endif /* HAVE_LCD_BITMAP */
1562 { "View runtime", view_runtime }, 1562 { "View runtime", view_runtime },
1563#ifdef HAVE_FMRADIO 1563#ifdef CONFIG_TUNER
1564 { "FM Radio", dbg_fm_radio }, 1564 { "FM Radio", dbg_fm_radio },
1565#endif 1565#endif
1566 }; 1566 };