Dwm_reset() creating infinitie loop

How can I call dwm_reset() only once using dwm-simple.c? Every time I use it in app_thread_entry, it will then restart from dwm_user_start and then reenter app_thread_entry creating this infinite loop.

I there a spot in the code that only runs once on start up outside of dwm_user_start?

Hi,

dwm_nvm_usr_data_set / dwm_nvm_usr_data_get might help you. They can be used to store and retrieve user data in/from the flash memory. Avoid writing unless necessary because that will ware out the memory.

Cheers,
TDK