fix error

This commit is contained in:
Mathieu Tournier 2025-12-28 19:22:50 +01:00
parent 52172b02cf
commit 7dae3869ab
2 changed files with 2 additions and 2 deletions

View file

@ -3,7 +3,7 @@ file(GLOB_RECURSE SRCS_CPP *.cpp)
idf_component_register(SRCS ${SRCS_CPP} idf_component_register(SRCS ${SRCS_CPP}
INCLUDE_DIRS "." REQUIRES esp_common arduinoWebSockets pubsubclient SmartRC-CC1101-Driver-Lib) 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") # Note: you must have a partition named the first argument (here it's "littlefs")
# in your partition table csv file. # in your partition table csv file.

View file

@ -1635,7 +1635,7 @@ void SomfyGroup::publishState() {
void SomfyGroup::publish() { void SomfyGroup::publish() {
if(mqtt.connected()) { if(mqtt.connected()) {
this->publish("groupId", this->groupId, true); 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("remoteAddress", this->getRemoteAddress(), true);
this->publish("groupType", static_cast<uint8_t>(this->groupType), true); this->publish("groupType", static_cast<uint8_t>(this->groupType), true);
this->publish("flags", this->flags, true); this->publish("flags", this->flags, true);