mirror of
https://github.com/UtilitechAS/amsreader-firmware.git
synced 2026-03-28 02:53:12 +00:00
Continued implementation and changes after testing
This commit is contained in:
@@ -9,6 +9,12 @@
|
||||
#include <EEPROM.h>
|
||||
#include "Arduino.h"
|
||||
|
||||
#if defined(ESP8266)
|
||||
#define BUF_SIZE_COMMON 1024
|
||||
#else
|
||||
#define BUF_SIZE_COMMON 4096
|
||||
#endif
|
||||
|
||||
#define EEPROM_SIZE 1024*3
|
||||
#define EEPROM_EXPECTED_VERSION 104 // Used to check if config is stored. Change if structure changes
|
||||
#define EEPROM_CLEARED_INDICATOR 0xFC
|
||||
|
||||
Reference in New Issue
Block a user