Fix version math
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
#include "sdkconfig.h"
|
||||
|
||||
#define NUKI_HUB_VERSION "9.03"
|
||||
#define NUKI_HUB_VERSION_INT (uint32_t)"903"
|
||||
#define NUKI_HUB_VERSION_INT (uint32_t)903
|
||||
#define NUKI_HUB_BUILD "unknownbuildnr"
|
||||
#define NUKI_HUB_DATE "2024-12-03"
|
||||
|
||||
|
||||
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user