From abd6036eb913eddadb7fb38d48092207476f7e66 Mon Sep 17 00:00:00 2001 From: Christoffer Sandberg Date: Wed, 2 Feb 2022 16:40:39 +0100 Subject: [PATCH] Initialize uw lightbar to be "off" --- src/uniwill_keyboard.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/uniwill_keyboard.h b/src/uniwill_keyboard.h index 37b2a12..aec0d2c 100644 --- a/src/uniwill_keyboard.h +++ b/src/uniwill_keyboard.h @@ -719,6 +719,10 @@ static int uw_lightbar_init(struct platform_device *dev) } } + // Init default state + uniwill_write_lightbar_animation(false); + uniwill_write_lightbar_rgb(0, 0, 0); + return 0; }