mirror of
https://github.com/zmkfirmware/zmk.git
synced 2026-03-19 20:45:18 -05:00
refactor(underglow): Tad more logging.
This commit is contained in:
committed by
Pete Johanson
parent
9bd171ede4
commit
a6787b08c7
@@ -190,7 +190,10 @@ static void zmk_rgb_underglow_tick(struct k_work *work) {
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user