From f9d290ace64351a41f392c1bb04edfded9544a27 Mon Sep 17 00:00:00 2001 From: KipK Date: Tue, 3 Jan 2023 17:34:58 +0100 Subject: [PATCH] fix #505 initialise _version at begin() --- openevse-gui-v2 | 1 + src/evse_man.cpp | 1 + 2 files changed, 2 insertions(+) create mode 160000 openevse-gui-v2 diff --git a/openevse-gui-v2 b/openevse-gui-v2 new file mode 160000 index 00000000..454a8d44 --- /dev/null +++ b/openevse-gui-v2 @@ -0,0 +1 @@ +Subproject commit 454a8d443cacb4fcf3225f88d9c57db9e4e2e211 diff --git a/src/evse_man.cpp b/src/evse_man.cpp index f3116445..3dd958cb 100644 --- a/src/evse_man.cpp +++ b/src/evse_man.cpp @@ -443,6 +443,7 @@ unsigned long EvseManager::loop(MicroTasks::WakeReason reason) bool EvseManager::begin() { + _version = 0; MicroTask.startTask(this); return true;