EEPROM: Fix FocusEEPROMCommand compilation

Signed-off-by: Gergely Nagy <algernon@keyboard.io>
pull/1094/merge
Gergely Nagy 3 years ago
parent eaca11af4a
commit 93d6fa7dec
No known key found for this signature in database
GPG Key ID: AC1E90BAC433F68F

@ -246,7 +246,7 @@ EventHandlerResult FocusEEPROMCommand::onFocusEvent(const char *command) {
break;
case ERASE: {
for (uint16_t i = 0; i < Runtime.storage().length(); i++) {
Runtime.storage().update(i, EEPROM_UNINITIALIZED_BYTE);
Runtime.storage().update(i, EEPROMSettings::EEPROM_UNINITIALIZED_BYTE);
}
Runtime.storage().commit();
Runtime.device().rebootBootloader();

Loading…
Cancel
Save