diff --git a/Cart_Reader/FLASH.ino b/Cart_Reader/FLASH.ino index 0a7107a..0f214eb 100644 --- a/Cart_Reader/FLASH.ino +++ b/Cart_Reader/FLASH.ino @@ -30,6 +30,7 @@ static const char flash8MenuItem6[] PROGMEM = "Print"; //static const char flash8MenuItem7[] PROGMEM = "Reset"; (stored in common strings array) static const char* const menuOptionsFLASH8[] PROGMEM = { flash8MenuItem1, flash8MenuItem2, flash8MenuItem3, flash8MenuItem4, flash8MenuItem5, flash8MenuItem6, string_reset2 }; +#ifdef enable_FLASH16 // Flash start menu static const char flashMenuItem1[] PROGMEM = "8bit Flash adapter"; static const char flashMenuItem2[] PROGMEM = "Eprom adapter"; @@ -75,7 +76,6 @@ void flashMenu() { mode = mode_FLASH8; break; -#ifdef enable_FLASH16 case 1: display_Clear(); display_Update(); @@ -91,7 +91,6 @@ void flashMenu() { wait(); mode = mode_FLASH16; break; -#endif case 3: resetArduino(); @@ -101,6 +100,17 @@ void flashMenu() { print_MissingModule(); // does not return } } +#else +void flashMenu() { + display_Clear(); + display_Update(); + mapping = 1; + setup_Flash8(); + id_Flash8(); + wait(); + mode = mode_FLASH8; +} +#endif void flashromMenu8() { // create menu with title and 7 options to choose from