Commits

a1ex committed 9dd7002

fio-ml: only show the card menu for dual slot cameras (empty menu otherwise)

  • Participants
  • Parent commits 7772a19
  • Branches unified-fio

Comments (0)

Files changed (1)

     return _FIO_MoveFile(newSrc, newDst);
 }
 
+#ifdef CONFIG_DUAL_SLOT
 struct menu_entry card_menus[] = {
     {
         .name = "Card settings",
                 .update = &card_info_display,
                 .help = "CF card info: make and model."
             },*/
-#ifdef CONFIG_DUAL_SLOT
 #ifdef CONFIG_5D3
             {
                 .name = "Card test at startup", 
                 .choices = CHOICES("OFF", "CF", "SD"),
                 .help = "Make sure your preferred card is selected at startup."
             },
-#endif
             MENU_EOL,
         }
     }
 };
+#endif
 
 static void fio_init()
 {
+    #ifdef CONFIG_DUAL_SLOT
     menu_add( "Prefs", card_menus, COUNT(card_menus) );
+    #endif
 }