Alternate fix

This commit is contained in:
Roger Braunstein 2024-06-30 12:31:54 -07:00
parent 75d547db22
commit ae52422502
2 changed files with 7 additions and 0 deletions

View File

@ -124,7 +124,9 @@ enum CORES: uint8_t {
# endif # endif
# ifdef ENABLE_SFM # ifdef ENABLE_SFM
CORE_SFM, CORE_SFM,
# ifdef ENABLE_FLASH
CORE_SFM_FLASH, CORE_SFM_FLASH,
# endif
CORE_SFM_GAME, CORE_SFM_GAME,
# endif # endif
# ifdef ENABLE_GBX # ifdef ENABLE_GBX

View File

@ -58,14 +58,19 @@ void sfmMenu() {
case 0: case 0:
sfmGameMenu(); sfmGameMenu();
break; break;
#ifdef CORE_SFM_FLASH
// Flash menu // Flash menu
case 1: case 1:
mode = CORE_SFM_FLASH; mode = CORE_SFM_FLASH;
break; break;
#endif
// Reset // Reset
case 2: case 2:
resetArduino(); resetArduino();
break; break;
default:
print_MissingModule();
break;
} }
} }