removed 4 bytes from maiden eeprom check as these could be set earlier to 0 by lcd_status_screen function
This commit is contained in:
parent
9639b58f4d
commit
31add2e69f
3 changed files with 3 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -921,7 +921,7 @@ void CardReader::presort() {
|
|||
}
|
||||
}
|
||||
if (!didSwap) break;
|
||||
} //end of bubble sort loop
|
||||
} //end of bubble sort loop
|
||||
#endif
|
||||
// Using RAM but not keeping names around
|
||||
#if (SDSORT_USES_RAM && !SDSORT_CACHE_NAMES)
|
||||
|
|
|
@ -373,7 +373,7 @@ void set_language_from_EEPROM() {
|
|||
|
||||
static void lcd_status_screen()
|
||||
{
|
||||
|
||||
|
||||
if (firstrun == 1)
|
||||
{
|
||||
firstrun = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue