Skip to content

EEPROM.update is missing #778

Closed
Closed
@arturo182

Description

@arturo182

I have some Arduino code that I want to make work on multiple cores, including this one, the code uses EEPROM.update, but this function is not available in this core.

From my understanding EEPROM.put and EEPROM.update differ only in the way that put always writes the value to EEPROM, and update only does it if the previous value doesn't match the new one. Looking at the code for EEPROM.put in this core, that's what put it already does anyway. So I would like to propose adding an update function that just calls put, and the issue will be resolved.

I can make a PR for it, just wanted to consult first if this is the way you want it handled, or maybe you had something else in mind.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions