diff --git a/app/Kconfig b/app/Kconfig index 354c0b36..258f21a0 100644 --- a/app/Kconfig +++ b/app/Kconfig @@ -302,19 +302,19 @@ config ZMK_BACKLIGHT_AUTO_OFF_USB endif config ZMK_ANIMATION - bool "RGB Animations" - select LED_STRIP + bool "RGB Animations" + select LED_STRIP if ZMK_ANIMATION config ZMK_ANIMATION_FPS - int "Animation FPS" - range 0 60 - default 30 + int "Animation FPS" + range 0 60 + default 30 config ZMK_ANIMATION_PIXEL_DISTANCE - bool "Generate a lookup table for distances between pixels" - default y + bool "Generate a lookup table for distances between pixels" + default y #ZMK_ANIMATION endif diff --git a/app/dts/animation.dtsi b/app/dts/animation.dtsi index 15ed2145..1d11c915 100644 --- a/app/dts/animation.dtsi +++ b/app/dts/animation.dtsi @@ -5,9 +5,9 @@ */ / { - /omit-if-no-ref/ pixel: animation_pixel { - compatible = "zmk,animation-pixel"; - label = "PIXEL"; - #pixel-cells = <2>; - }; + /omit-if-no-ref/ pixel: animation_pixel { + compatible = "zmk,animation-pixel"; + label = "PIXEL"; + #pixel-cells = <2>; + }; }; diff --git a/app/src/animation/animation.c b/app/src/animation/animation.c index 3d94bfb2..53a2f5f8 100644 --- a/app/src/animation/animation.c +++ b/app/src/animation/animation.c @@ -37,8 +37,7 @@ LOG_MODULE_DECLARE(zmk, CONFIG_ZMK_LOG_LEVEL); /** * LED Driver device pointers. */ -static const struct device *drivers[] = { - DT_INST_FOREACH_PROP_ELEM(0, drivers, PHANDLE_TO_DEVICE)}; +static const struct device *drivers[] = {DT_INST_FOREACH_PROP_ELEM(0, drivers, PHANDLE_TO_DEVICE)}; /** * 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. */ -static struct animation_pixel pixels[] = { - DT_INST_FOREACH_PROP_ELEM(0, pixels, PHANDLE_TO_PIXEL)}; +static struct animation_pixel pixels[] = {DT_INST_FOREACH_PROP_ELEM(0, pixels, PHANDLE_TO_PIXEL)}; /** * Size of the pixels array.