EEPROM: Don't erase if we don't have to. Adding eeprom_driver_format abstraction. (#18332)
This commit is contained in:
parent
6921c8a7dd
commit
267dffda15
10 changed files with 63 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue