1
0
mirror of https://github.com/DCC-EX/CommandStation-EX.git synced 2024-11-24 08:36:14 +01:00

Compare commits

..

1 Commits

Author SHA1 Message Date
Travis Farmer
9921588728
Merge 2f72a3dd57 into 33b2820095 2023-10-30 19:37:27 +00:00
3 changed files with 4 additions and 4 deletions

View File

@ -31,12 +31,12 @@
#include "Sensors.h"
#include "Turnouts.h"
#if defined(ARDUINO_ARCH_SAMC) || defined(ARDUINO_GIGA)
#if defined(ARDUINO_ARCH_SAMC)
ExternalEEPROM EEPROM;
#endif
void EEStore::init() {
#if defined(ARDUINO_ARCH_SAMC) || defined(ARDUINO_GIGA)
#if defined(ARDUINO_ARCH_SAMC)
EEPROM.begin(0x50); // Address for Microchip 24-series EEPROM with all three
// A pins grounded (0b1010000 = 0x50)
#endif

View File

@ -26,7 +26,7 @@
#include <Arduino.h>
#if defined(ARDUINO_ARCH_SAMC) || defined(ARDUINO_GIGA)
#if defined(ARDUINO_ARCH_SAMC)
#include <SparkFun_External_EEPROM.h>
extern ExternalEEPROM EEPROM;
#else

View File

@ -150,7 +150,7 @@
// #endif
#elif defined(ARDUINO_GIGA)
#define ARDUINO_TYPE "Giga"
#ifndef GIGA_EXT_EEPROM
#ifndef DISABLE_EEPROM
#define DISABLE_EEPROM
#endif
//#if !defined(I2C_USE_WIRE)