Merge pull request #332 from PavelSindler/initialization
Initialization
This commit is contained in:
commit
38d1877016
@ -1064,8 +1064,7 @@ void setup()
|
||||
card.ToshibaFlashAir_enable(eeprom_read_byte((unsigned char*)EEPROM_TOSHIBA_FLASH_AIR_COMPATIBLITY) == 1);
|
||||
|
||||
if (eeprom_read_dword((uint32_t*)(EEPROM_TOP - 4)) == 0x0ffffffff &&
|
||||
eeprom_read_dword((uint32_t*)(EEPROM_TOP - 8)) == 0x0ffffffff &&
|
||||
eeprom_read_dword((uint32_t*)(EEPROM_TOP - 12)) == 0x0ffffffff) {
|
||||
eeprom_read_dword((uint32_t*)(EEPROM_TOP - 8)) == 0x0ffffffff) {
|
||||
// Maiden startup. The firmware has been loaded and first started on a virgin RAMBo board,
|
||||
// where all the EEPROM entries are set to 0x0ff.
|
||||
// Once a firmware boots up, it forces at least a language selection, which changes
|
||||
|
@ -373,7 +373,6 @@ void set_language_from_EEPROM() {
|
||||
|
||||
static void lcd_status_screen()
|
||||
{
|
||||
|
||||
if (firstrun == 1)
|
||||
{
|
||||
firstrun = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user