mirror of
https://github.com/sanni/cartreader.git
synced 2024-11-10 23:15:08 +01:00
Update FLASH.ino
This commit is contained in:
parent
0a21d49f8a
commit
13d1b33fc1
@ -30,6 +30,7 @@ static const char flash8MenuItem6[] PROGMEM = "Print";
|
|||||||
//static const char flash8MenuItem7[] PROGMEM = "Reset"; (stored in common strings array)
|
//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 };
|
static const char* const menuOptionsFLASH8[] PROGMEM = { flash8MenuItem1, flash8MenuItem2, flash8MenuItem3, flash8MenuItem4, flash8MenuItem5, flash8MenuItem6, string_reset2 };
|
||||||
|
|
||||||
|
#ifdef enable_FLASH16
|
||||||
// Flash start menu
|
// Flash start menu
|
||||||
static const char flashMenuItem1[] PROGMEM = "8bit Flash adapter";
|
static const char flashMenuItem1[] PROGMEM = "8bit Flash adapter";
|
||||||
static const char flashMenuItem2[] PROGMEM = "Eprom adapter";
|
static const char flashMenuItem2[] PROGMEM = "Eprom adapter";
|
||||||
@ -75,7 +76,6 @@ void flashMenu() {
|
|||||||
mode = mode_FLASH8;
|
mode = mode_FLASH8;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
#ifdef enable_FLASH16
|
|
||||||
case 1:
|
case 1:
|
||||||
display_Clear();
|
display_Clear();
|
||||||
display_Update();
|
display_Update();
|
||||||
@ -91,7 +91,6 @@ void flashMenu() {
|
|||||||
wait();
|
wait();
|
||||||
mode = mode_FLASH16;
|
mode = mode_FLASH16;
|
||||||
break;
|
break;
|
||||||
#endif
|
|
||||||
|
|
||||||
case 3:
|
case 3:
|
||||||
resetArduino();
|
resetArduino();
|
||||||
@ -101,6 +100,17 @@ void flashMenu() {
|
|||||||
print_MissingModule(); // does not return
|
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() {
|
void flashromMenu8() {
|
||||||
// create menu with title and 7 options to choose from
|
// create menu with title and 7 options to choose from
|
||||||
|
Loading…
Reference in New Issue
Block a user