Unverified Commit 2e93f1c9 authored by Cole Deck's avatar Cole Deck Committed by GitHub

Clear dirty flag after commiting EEPROM to flash (#1776)

* Clear dirty flag after commiting EEPROM to flash

* Styling: remove whitespace
parent ae6847cf
......@@ -124,6 +124,7 @@ bool EEPROMClass::commit() {
flash_range_program((intptr_t)_sector - (intptr_t)XIP_BASE, _data, _size);
rp2040.resumeOtherCore();
interrupts();
_dirty = false;
return true;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment