Got all my settings reset after a flight - Why?

Hi guys!

I just got some wierd settings reset in my P2.1 after some flight.

I did the flight (all the config was right - PID’s, etc…) and everything went ok, as soon i got home to download the log i see that my config is erased and reset.

Why would this happen? (its my third P2.1 and its the first time i got this).

Firmware 3.5.7

thank you.