print nukihub version on boot

This commit is contained in:
technyon
2023-02-04 00:42:46 +01:00
parent 3abe951472
commit 3375ec3dbb

View File

@@ -11,6 +11,7 @@
#include "NukiOpenerWrapper.h"
#include "Gpio.h"
#include "Logger.h"
#include "Config.h"
Network* network = nullptr;
NetworkLock* networkLock = nullptr;
@@ -161,6 +162,8 @@ void setup()
Serial.begin(115200);
Log = &Serial;
Log->print(F("NUKI Hub version ")); Log->println(NUKI_HUB_VERSION);
bool firstStart = initPreferences();
if(preferences->getInt(preference_restart_timer) > 0)