refactor(underglow): Tad more logging.
This commit is contained in:
parent
9bd171ede4
commit
a6787b08c7
1 changed files with 4 additions and 1 deletions
|
@ -190,7 +190,10 @@ static void zmk_rgb_underglow_tick(struct k_work *work) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
led_strip_update_rgb(led_strip, pixels, STRIP_NUM_PIXELS);
|
int err = led_strip_update_rgb(led_strip, pixels, STRIP_NUM_PIXELS);
|
||||||
|
if (err < 0) {
|
||||||
|
LOG_ERR("Failed to update the RGB strip (%d)", err);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
K_WORK_DEFINE(underglow_work, zmk_rgb_underglow_tick);
|
K_WORK_DEFINE(underglow_work, zmk_rgb_underglow_tick);
|
||||||
|
|
Loading…
Add table
Reference in a new issue