All pastes #326118 Raw Edit

Something

public text v1 · immutable
#326118 ·published 2007-01-23 21:37 UTC
rendered paste body
Index: apps/settings_menu.c
===================================================================
--- apps/settings_menu.c        (revision 12095)
+++ apps/settings_menu.c        (working copy)
@@ -2072,10 +2072,12 @@
 }
 
 
+#if CONFIG_CODEC != SWCODEC
 static bool firmware_browse(void)
 {
     return rockbox_browse(ROCKBOX_DIR, SHOW_MOD);
 }
+#endif
 
 static bool battery_settings_menu(void)
 {
@@ -2147,7 +2149,9 @@
 
     static const struct menu_item items[] = {
         { ID2P(LANG_CUSTOM_CFG),      custom_cfg_browse },
+#if CONFIG_CODEC != SWCODEC
         { ID2P(LANG_FIRMWARE),        firmware_browse },
+#endif
         { ID2P(LANG_RESET),           reset_settings },
         { ID2P(LANG_SAVE_SETTINGS),   settings_save_config },
     };