Speed up saving some more.

This commit is contained in:
2022-10-11 01:14:16 +00:00
parent d3f3b60816
commit f1bf8fcfdc
5 changed files with 2 additions and 7 deletions

View File

@ -2,7 +2,7 @@
#define GUARD_SAVE_H
// Each 4 KiB flash sector contains 3968 bytes of actual data followed by a 128 byte footer.
// Only 12 bytes of the footer are used.
// Only 12 bytes of the footer are used, therefore we changed the params in tbld to allow for more data.
#define SECTOR_DATA_SIZE 4084
#define SECTOR_FOOTER_SIZE 12
#define SECTOR_SIZE (SECTOR_DATA_SIZE + SECTOR_FOOTER_SIZE)

View File

@ -276,7 +276,6 @@ extern const u8 gText_MenuOptionOption[];
extern const u8 gText_MenuOptionExit[];
// save menu texts
extern const u8 gText_ConfirmSave[];
extern const u8 gText_DifferentSaveFile[];
extern const u8 gText_AlreadySavedFile[];
extern const u8 gText_SavingDontTurnOff[];