diff options
Diffstat (limited to 'apps/menus')
-rw-r--r-- | apps/menus/main_menu.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/menus/main_menu.c b/apps/menus/main_menu.c index 075bd2a9c8..f51eb3b110 100644 --- a/apps/menus/main_menu.c +++ b/apps/menus/main_menu.c @@ -46,6 +46,9 @@ #include "buffer.h" #include "splash.h" #include "debug_menu.h" +#if defined(SIMULATOR) && defined(ROCKBOX_HAS_LOGF) +#include "logfdisp.h" +#endif /* lazy coders can use this function if the needed callback is just to say if the item is shown or not */ @@ -354,8 +357,8 @@ MENUITEM_FUNCTION(debug_menu_item, ID2P(LANG_DEBUG), MENUITEM_FUNCTION(simulate_usb_item, ID2P(LANG_USB), (menu_function)simulate_usb, NULL, NOICON); #ifdef ROCKBOX_HAS_LOGF -MENUITEM_FUNCTION(logfdisplay_item, "logf",logfdisplay, NULL, NOICON); -MENUITEM_FUNCTION(logfdump_item, "logfdump",logfdump, NULL, NOICON); +MENUITEM_FUNCTION(logfdisplay_item, "logf",(int (*)(void)) logfdisplay, NULL, NOICON); +MENUITEM_FUNCTION(logfdump_item, "logfdump",(int (*)(void)) logfdump, NULL, NOICON); #endif #endif |