Fix version math

This commit is contained in:
iranl
2024-12-05 22:08:49 +01:00
parent c4f9644c97
commit 3b3eb2902c
3 changed files with 4 additions and 4 deletions

View File

@@ -217,7 +217,7 @@ inline void initPreferences(Preferences* preferences)
Log->println(lastConfigVer);
Log->print("Current config version: ");
if(lastConfigVer >= NUKI_HUB_VERSION_INT) return;
if(lastConfigVer >= NUKI_HUB_VERSION_INT && lastConfigVer < 20000) return;
if (lastConfigVer < 834)
{