diff options
Diffstat (limited to 'apps/plugins/text_viewer/tv_menu.h')
-rw-r--r-- | apps/plugins/text_viewer/tv_menu.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/text_viewer/tv_menu.h b/apps/plugins/text_viewer/tv_menu.h index 9f28723b87..0db5051192 100644 --- a/apps/plugins/text_viewer/tv_menu.h +++ b/apps/plugins/text_viewer/tv_menu.h @@ -23,8 +23,8 @@ #ifndef PLUGIN_TEXT_VIEWER_MENU_H #define PLUGIN_TEXT_VIEWER_MENU_H -enum tv_menu_result { - TV_MENU_RESULT_MOVE_PAGE, +enum { + TV_MENU_RESULT_MOVE_PAGE = 0, TV_MENU_RESULT_EXIT_MENU, TV_MENU_RESULT_EXIT_PLUGIN, TV_MENU_RESULT_ATTACHED_USB, @@ -40,6 +40,6 @@ enum tv_menu_result { * TV_MENU_RESULT_EXIT_PLUGIN request to exit this plugin * TV_MENU_RESULT_ATTACHED_USB connect USB cable */ -enum tv_menu_result tv_display_menu(void); +unsigned tv_display_menu(void); #endif |