From 3375ec3dbbf63a273385dbf6c65b1133a3d3dad2 Mon Sep 17 00:00:00 2001 From: technyon Date: Sat, 4 Feb 2023 00:42:46 +0100 Subject: [PATCH] print nukihub version on boot --- main.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.cpp b/main.cpp index 502ddb0..a765279 100644 --- a/main.cpp +++ b/main.cpp @@ -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)