From 9f4274c7d894871891739389ac2596fd24940bb5 Mon Sep 17 00:00:00 2001 From: Johannes-Thiel Date: Fri, 14 Jun 2024 11:00:29 +0200 Subject: [PATCH] add workaround for .active propertie --- main/modules/proxy.cpp | 1 + main/storage.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/main/modules/proxy.cpp b/main/modules/proxy.cpp index 4ca84c9..23eac17 100644 --- a/main/modules/proxy.cpp +++ b/main/modules/proxy.cpp @@ -19,6 +19,7 @@ Proxy::Proxy(const std::string name, // definitions. if (module_type == "Input") { this->properties["level"] = std::make_shared(0); + this->properties["active"] = std::make_shared(false); } expander->serial->write_checked_line(buffer, pos); diff --git a/main/storage.cpp b/main/storage.cpp index 73832ff..569c0e3 100644 --- a/main/storage.cpp +++ b/main/storage.cpp @@ -6,7 +6,7 @@ #include #define NAMESPACE "storage" -#define MAX_CHUNK_SIZE 0xf80 +#define MAX_CHUNK_SIZE 0xf00 std::string Storage::startup;