From 492a2bc1d2d0ba2354a900a51b3f8e8c68596ed4 Mon Sep 17 00:00:00 2001 From: Eugene Sylenko <1863154+ffenix113@users.noreply.github.com> Date: Tue, 30 Apr 2024 21:44:23 +0200 Subject: [PATCH] fix: ias zone executed only once Related to recent adding of `zb_buf_free` for `bufid`'s. --- templates/src/extenders/sensors/ias_zone.tpl | 4 ---- 1 file changed, 4 deletions(-) diff --git a/templates/src/extenders/sensors/ias_zone.tpl b/templates/src/extenders/sensors/ias_zone.tpl index 1a90075..c49defc 100644 --- a/templates/src/extenders/sensors/ias_zone.tpl +++ b/templates/src/extenders/sensors/ias_zone.tpl @@ -17,10 +17,6 @@ void update_zone_status(zb_bufid_t bufid, bool status) { ZB_ZCL_IAS_ZONE_CLEAR_BITS(bufid, 2, ZB_ZCL_IAS_ZONE_ZONE_STATUS_ALARM1); break; } - - if (bufid) { - zb_buf_free(bufid); - } } {{ end }}