summaryrefslogtreecommitdiff
path: root/trunk/darwin/firmware/Sanguino/Sanguino3G/SanguinoMaster/EEPROMUtils.cpp
blob: 1499faef352fbf29a9e1f0404e995c5a80510ade (plain)
1
2
3
4
5
6
7
#include "EEPROMOffsets.h"
#include <EEPROM.h>

bool hasEEPROMSettings() {
  return (EEPROM.read(0) == EEPROM_CHECK_LOW &&
	  EEPROM.read(1) == EEPROM_CHECK_HIGH);
}