Skip to content

Commit

Permalink
fix: ias zone executed only once
Browse files Browse the repository at this point in the history
Related to recent adding of `zb_buf_free` for `bufid`'s.
  • Loading branch information
ffenix113 committed Apr 30, 2024
1 parent 9810582 commit 492a2bc
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions templates/src/extenders/sensors/ias_zone.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down

0 comments on commit 492a2bc

Please sign in to comment.