Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
A cleared EEPROM block has all bits to 1 and not 0
  • Loading branch information
ecsv committed Dec 15, 2013
1 parent 83edfef commit 67f8d10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/memory/pif.c
Expand Up @@ -49,7 +49,7 @@ static char *get_eeprom_path(void)

static void eeprom_format(void)
{
memset(eeprom, 0, sizeof(eeprom));
memset(eeprom, 0xff, sizeof(eeprom));
}

static void eeprom_read_file(void)
Expand Down

0 comments on commit 67f8d10

Please sign in to comment.