We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84376a7 commit afa5f41Copy full SHA for afa5f41
libraries/EEPROM/src/EEPROM.cpp
@@ -133,6 +133,10 @@ void EEPROMClass::end() {
133
_handle = 0;
134
}
135
136
+bool EEPROMClass::isDirty() {
137
+ return _dirty;
138
+}
139
+
140
uint8_t EEPROMClass::read(int address) {
141
if (address < 0 || (size_t)address >= _size) {
142
return 0;
libraries/EEPROM/src/EEPROM.h
@@ -45,6 +45,7 @@ class EEPROMClass {
45
uint16_t length();
46
bool commit();
47
void end();
48
+ bool isDirty();
49
50
uint8_t *getDataPtr();
51
uint16_t convert(bool clear, const char *EEPROMname = "eeprom", const char *nvsname = "eeprom");
0 commit comments