#define SAVE_STATE NOT WORKING

Hey everyone. I am still having a problem with my proffie not staying on the font that I was using. When I turn off the switch for the saber it always goes back to the first font in the config. I have added #define SAVE_STATE UP AT THE TOP WITH THE OTHER THINGS LIKE ENABLE SD ETC…

I also tried #define ENABLE SAVE_STATE AND THAT DID NOT WORK EITHER.

What could be going on?

Please post your config file.

ESB_Graflex5_config.h (18.4 KB)

This config file is missing #ifdef CONFIG_TOP at the top.
Not sure if/how it would even work without it.

1 Like

It is there. I’m not sure why it is not showing up for you. The proffie works great it just doesn’t save the font that I left it with.

You are right. Not sure why it got cut off the first time I looked.
What version of ProffieOS are you using?
Are you sure it’s actually using this config file?
Do the ini and tmp files show up on the SD card?

The board is running OS 5.7

The ini and temp files show up in the SD root also.

I opened the curstate.ini file and it says
Installed=April 7 202117:51:14
Preset=12
End=1

Every time power is cut to the board it goes back to the first font.

I added #define SAVE_PRESET flashed it again and it seems to be holding the font that I left it on even after I turn the switch on and off.

Thank you for you time and help I appreciate it.

1 Like

I’ve taken the liberty of labeling this as SOLVED in the openSourceFB group for you.

1 Like