From 7dae3869abac4ef0349d775cf7e00c4ca273f33e Mon Sep 17 00:00:00 2001 From: Mathieu Tournier Date: Sun, 28 Dec 2025 19:22:50 +0100 Subject: [PATCH] fix error --- main/CMakeLists.txt | 2 +- main/Somfy.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main/CMakeLists.txt b/main/CMakeLists.txt index ea46536..0bd7780 100644 --- a/main/CMakeLists.txt +++ b/main/CMakeLists.txt @@ -3,7 +3,7 @@ file(GLOB_RECURSE SRCS_CPP *.cpp) idf_component_register(SRCS ${SRCS_CPP} INCLUDE_DIRS "." REQUIRES esp_common arduinoWebSockets pubsubclient SmartRC-CC1101-Driver-Lib) -target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-format -Wno-misleading-indentation) +target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-format -Wno-misleading-indentation -Wno-error=address) # Note: you must have a partition named the first argument (here it's "littlefs") # in your partition table csv file. diff --git a/main/Somfy.cpp b/main/Somfy.cpp index 368faaa..eec8bb3 100644 --- a/main/Somfy.cpp +++ b/main/Somfy.cpp @@ -1635,7 +1635,7 @@ void SomfyGroup::publishState() { void SomfyGroup::publish() { if(mqtt.connected()) { this->publish("groupId", this->groupId, true); - //this->publish("name", this->name, true); + this->publish("name", this->name, true); this->publish("remoteAddress", this->getRemoteAddress(), true); this->publish("groupType", static_cast(this->groupType), true); this->publish("flags", this->flags, true);