#define SAVE_STATE
causes the presets.ini file to be written to.
If you remove that define, you wont have current stuff saved new,
but there’s nothing preventing the OS from still using what’s already been written.
You also have #define KEEP_SAVEFILES_WHEN_PROGRAMMING
which is going to have the board ignore any new uploaded changes and read from the presets.ini file instead.
It sounds like you just want to delete presets.ini/tmp from the SD.
Read this:
NOTE FOR ALL USERS updating to OS6 or OS7. Be sure to read the wiki page for this define before adding to your config.
#define KEEP_SAVEFILES_WHEN_PROGRAMMING
Once this define is added to your config, the intended use is to make all future updates to your saber via Edit Mode or ProffieOS Workbench and NOT by uploading changes to your config.
This define tells the OS to use the .ini files on your SD for all presets and settings so if you have new styles, changes to fonts, colors, etc. or changes to volume, clash threshold, brightness, blade length or other settings that are editable in Edit Mode or ProffieOS Workbench that you’re trying to make via a change to your config you will not see those changes on your saber if the .ini files have different values.
This can be confusing, particularly for new users, as you may have a successful upload but not see the changes on your saber. You also have to be mindful when adding, removing or updating presets in your config once this define is enabled (refer to below wiki article).
I recommend only adding this define AFTER you have your saber dialed in to where you want it with all styles and settings for your “baseline” set. Then once you add this define, all future changes should only be made via Edit Mode or ProffieOS Workbench. If you need to add a style or upload other changes via your config, you should remove or comment out this define first and then only add it once you have the saber’s default set.