From 38a70ea747d3f338287c046536ec424ebcb4e3d1 Mon Sep 17 00:00:00 2001 From: Kuba Birecki Date: Thu, 16 Dec 2021 19:02:27 +0100 Subject: [PATCH] Update devicetree bindings for solid animation --- app/dts/bindings/animations/zmk,animation-solid.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/dts/bindings/animations/zmk,animation-solid.yaml b/app/dts/bindings/animations/zmk,animation-solid.yaml index f84aaeef..f175f134 100644 --- a/app/dts/bindings/animations/zmk,animation-solid.yaml +++ b/app/dts/bindings/animations/zmk,animation-solid.yaml @@ -15,10 +15,12 @@ properties: duration: type: int - required: true + required: false + default: 5 description: | Animation duration in seconds. This is the time it takes for the animation to complete a full cycle and return to the original color. + Ignored if only a single color is given. colors: type: array