Fix formatting
This commit is contained in:
parent
abeb5c8c49
commit
cb22fa885a
3 changed files with 14 additions and 16 deletions
|
@ -37,8 +37,7 @@ LOG_MODULE_DECLARE(zmk, CONFIG_ZMK_LOG_LEVEL);
|
||||||
/**
|
/**
|
||||||
* LED Driver device pointers.
|
* LED Driver device pointers.
|
||||||
*/
|
*/
|
||||||
static const struct device *drivers[] = {
|
static const struct device *drivers[] = {DT_INST_FOREACH_PROP_ELEM(0, drivers, PHANDLE_TO_DEVICE)};
|
||||||
DT_INST_FOREACH_PROP_ELEM(0, drivers, PHANDLE_TO_DEVICE)};
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Size of the LED driver device pointers array.
|
* Size of the LED driver device pointers array.
|
||||||
|
@ -59,8 +58,7 @@ static const struct device *animation_root = DEVICE_DT_GET(DT_CHOSEN(zmk_animati
|
||||||
/**
|
/**
|
||||||
* Pixel configuration.
|
* Pixel configuration.
|
||||||
*/
|
*/
|
||||||
static struct animation_pixel pixels[] = {
|
static struct animation_pixel pixels[] = {DT_INST_FOREACH_PROP_ELEM(0, pixels, PHANDLE_TO_PIXEL)};
|
||||||
DT_INST_FOREACH_PROP_ELEM(0, pixels, PHANDLE_TO_PIXEL)};
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Size of the pixels array.
|
* Size of the pixels array.
|
||||||
|
|
Loading…
Add table
Reference in a new issue