Skip to content

Commit

Permalink
lib: fix zb_zcl_set_backward_compatible_statuses_mode
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Montoya <[email protected]>
  • Loading branch information
edmont committed Jan 14, 2025
1 parent bfda166 commit 92d4844
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/zboss/production/src/zcl/zcl_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -2830,7 +2830,7 @@ zb_uint8_t zb_zcl_get_backward_compatible_statuses_mode(void)

zb_ret_t zb_zcl_set_backward_compatible_statuses_mode(zb_uint8_t statuses_mode)
{
if (statuses_mode > ZB_ZCL_STATUSES_PRE_ZCL8_MODE)
if (statuses_mode > ZB_ZCL_STATUSES_ZCL8_MODE)
{
return RET_OUT_OF_RANGE;
}
Expand Down

0 comments on commit 92d4844

Please sign in to comment.