Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions samples/light_switch/src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -551,8 +551,8 @@ static void light_switch_button_handler(struct k_timer *timer)
zb_err_code = zb_buf_get_out_delayed_ext(light_switch_send_step,
cmd_id,
0);
if (!zb_err_code) {
LOG_WRN("Buffer is full");
if (zb_err_code != RET_OK) {
LOG_ERR("Failed to schedule buffer allocation: %d", zb_err_code);
}

k_timer_start(&buttons_ctx.alarm, BUTTON_LONG_POLL_TMO,
Expand Down