Skip to content

Commit

Permalink
Alternate fix
Browse files Browse the repository at this point in the history
  • Loading branch information
partlyhuman committed Jun 30, 2024
1 parent 75d547d commit ae52422
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Cart_Reader/OSCR.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,9 @@ enum CORES: uint8_t {
# endif
# ifdef ENABLE_SFM
CORE_SFM,
# ifdef ENABLE_FLASH
CORE_SFM_FLASH,
# endif
CORE_SFM_GAME,
# endif
# ifdef ENABLE_GBX
Expand Down
5 changes: 5 additions & 0 deletions Cart_Reader/SFM.ino
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,19 @@ void sfmMenu() {
case 0:
sfmGameMenu();
break;
#ifdef CORE_SFM_FLASH
// Flash menu
case 1:
mode = CORE_SFM_FLASH;
break;
#endif
// Reset
case 2:
resetArduino();
break;
default:
print_MissingModule();
break;
}
}

Expand Down

0 comments on commit ae52422

Please sign in to comment.