diff options
Diffstat (limited to 'apps/debug_menu.c')
-rw-r--r-- | apps/debug_menu.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/apps/debug_menu.c b/apps/debug_menu.c index d4d08bc673..197e8fec8b 100644 --- a/apps/debug_menu.c +++ b/apps/debug_menu.c | |||
@@ -44,7 +44,7 @@ extern int ata_io_address; | |||
44 | extern int num_threads; | 44 | extern int num_threads; |
45 | extern char *thread_name[]; | 45 | extern char *thread_name[]; |
46 | 46 | ||
47 | #ifdef ARCHOS_RECORDER | 47 | #ifdef HAVE_LCD_BITMAP |
48 | /* Test code!!! */ | 48 | /* Test code!!! */ |
49 | void dbg_os(void) | 49 | void dbg_os(void) |
50 | { | 50 | { |
@@ -120,7 +120,7 @@ void dbg_os(void) | |||
120 | } | 120 | } |
121 | #endif | 121 | #endif |
122 | 122 | ||
123 | #ifdef ARCHOS_RECORDER | 123 | #ifdef HAVE_LCD_BITMAP |
124 | /* Test code!!! */ | 124 | /* Test code!!! */ |
125 | void dbg_ports(void) | 125 | void dbg_ports(void) |
126 | { | 126 | { |
@@ -395,7 +395,7 @@ void dbg_mas(void) | |||
395 | } | 395 | } |
396 | } | 396 | } |
397 | 397 | ||
398 | #ifdef ARCHOS_RECORDER | 398 | #ifdef HAVE_MAS3587F |
399 | void dbg_mas_codec(void) | 399 | void dbg_mas_codec(void) |
400 | { | 400 | { |
401 | char buf[32]; | 401 | char buf[32]; |
@@ -428,7 +428,9 @@ void dbg_mas_codec(void) | |||
428 | } | 428 | } |
429 | } | 429 | } |
430 | } | 430 | } |
431 | #endif | ||
431 | 432 | ||
433 | #ifdef HAVE_LCD_BITMAP | ||
432 | /* | 434 | /* |
433 | * view_battery() shows a automatically scaled graph of the battery voltage | 435 | * view_battery() shows a automatically scaled graph of the battery voltage |
434 | * over time. Usable for estimating battery life / charging rate. | 436 | * over time. Usable for estimating battery life / charging rate. |
@@ -566,8 +568,10 @@ void debug_menu(void) | |||
566 | #endif /* HAVE_LCD_BITMAP */ | 568 | #endif /* HAVE_LCD_BITMAP */ |
567 | { "View OS stacks", dbg_os }, | 569 | { "View OS stacks", dbg_os }, |
568 | { "View MAS regs", dbg_mas }, | 570 | { "View MAS regs", dbg_mas }, |
569 | #ifdef ARCHOS_RECORDER | 571 | #ifdef HAVE_MAS3587F |
570 | { "View MAS codec", dbg_mas_codec }, | 572 | { "View MAS codec", dbg_mas_codec }, |
573 | #endif | ||
574 | #ifdef HAVE_LCD_BITMAP | ||
571 | { "View battery", view_battery }, | 575 | { "View battery", view_battery }, |
572 | #endif | 576 | #endif |
573 | }; | 577 | }; |