Fork of the espurna firmware for `mhsw` switches
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
456 B

  1. /*
  2. EEPROM MODULE
  3. */
  4. // XXX: with case insensitive filesystem, if named eeprom.h *could*
  5. // be included as EEPROM.h and fail after including rotate library down below
  6. #pragma once
  7. #include <EEPROM_Rotate.h>
  8. #include "espurna.h"
  9. extern EEPROM_Rotate EEPROMr;
  10. void eepromSectorsDebug();
  11. void eepromRotate(bool value);
  12. uint32_t eepromCurrent();
  13. String eepromSectors();
  14. void eepromBackup(uint32_t index);
  15. void eepromCommit();
  16. void eepromSetup();