Username and Language settings should be respected (#37)

This commit is contained in:
VitorMM 2024-03-15 00:37:38 -03:00
parent 20ab800254
commit 2ee12d0b4c
1 changed files with 1 additions and 1 deletions

View File

@ -368,7 +368,7 @@ Firmware::UserData& Firmware::GetEffectiveUserData() {
if (userdata0ChecksumOk && userdata1ChecksumOk)
{
return userdata[0].UpdateCounter > userdata[1].UpdateCounter ? userdata[0] : userdata[1];
return userdata[0].UpdateCounter < userdata[1].UpdateCounter ? userdata[1] : userdata[0];
}
else if (userdata0ChecksumOk)
{