Changed eeprom erase command to write 0xff values.

--------------------------------------------------
I see that eeprom_data is initialized with a memeset of 0xff so I don't think this change will break anything.
This commit is contained in:
Pierpaolo Prazzoli 2009-03-04 21:06:57 +00:00
parent 1c544a0426
commit caf233e1fc

View File

@ -209,11 +209,11 @@ logerror("EEPROM erase address %02x\n",address);
{
if (intf->data_bits == 16)
{
eeprom_data[2*address+0] = 0x00;
eeprom_data[2*address+1] = 0x00;
eeprom_data[2*address+0] = 0xff;
eeprom_data[2*address+1] = 0xff;
}
else
eeprom_data[address] = 0x00;
eeprom_data[address] = 0xff;
}
else
logerror("Error: EEPROM is locked\n");