Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: ddd3839b3f
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (11 sloc) 0.297 kB
#include "eepromConfig.h"
#include "eeprom.h"
uint8_t eepromConfigValid()
{
return eeprom_read(0) == EEPROM_CONFIG_START_BYTE && eeprom_read(1) == EEPROM_CONFIG_END_BYTE;
}
void eepromWriteDefaults()
{
eeprom_write(0,EEPROM_CONFIG_START_BYTE);
eeprom_write(1,EEPROM_CONFIG_END_BYTE);
}
Jump to Line
Something went wrong with that request. Please try again.