EEPROM: Don't erase if we don't have to. Adding eeprom_driver_format abstraction. (#18332)

This commit is contained in:
Purdea Andrei
2024-05-28 14:49:55 +03:00
committed by GitHub
parent 6921c8a7dd
commit 267dffda15
10 changed files with 63 additions and 4 deletions

View File

@@ -16,7 +16,9 @@
#pragma once
#include <stdbool.h>
#include "eeprom.h"
void eeprom_driver_init(void);
void eeprom_driver_format(bool erase);
void eeprom_driver_erase(void);