Skip to content

Commit 492a2bc

Browse files
committed
fix: ias zone executed only once
Related to recent adding of `zb_buf_free` for `bufid`'s.
1 parent 9810582 commit 492a2bc

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

templates/src/extenders/sensors/ias_zone.tpl

-4
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ void update_zone_status(zb_bufid_t bufid, bool status) {
1717
ZB_ZCL_IAS_ZONE_CLEAR_BITS(bufid, 2, ZB_ZCL_IAS_ZONE_ZONE_STATUS_ALARM1);
1818
break;
1919
}
20-
21-
if (bufid) {
22-
zb_buf_free(bufid);
23-
}
2420
}
2521
{{ end }}
2622

0 commit comments

Comments
 (0)