Skip to content

Commit fae673e

Browse files
authored
Update EEPROM.cpp - Added new function: bool isDirty()
1 parent 7061c5d commit fae673e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: libraries/EEPROM/src/EEPROM.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,10 @@ void EEPROMClass::end() {
133133
_handle = 0;
134134
}
135135

136+
bool EEPROMClass::isDirty() {
137+
return _dirty;
138+
}
139+
136140
uint8_t EEPROMClass::read(int address) {
137141
if (address < 0 || (size_t)address >= _size) {
138142
return 0;

0 commit comments

Comments
 (0)