summaryrefslogtreecommitdiff
path: root/app/src
diff options
context:
space:
mode:
authorNick Winans <nick@winans.codes>2021-10-10 19:23:25 -0500
committerNick Winans <nick@winans.codes>2021-10-10 17:43:57 -0700
commitf23f427cae7140939238bc68fc7a3d0fb350af91 (patch)
treec3b7774c25b1d2f59b07dbef603f8dda0ddc2697 /app/src
parentc5b8dd85fdf28d1912ef0d2cefce8b55652c0db7 (diff)
fix(underglow): Run clang-format
Diffstat (limited to 'app/src')
-rw-r--r--app/src/rgb_underglow.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/rgb_underglow.c b/app/src/rgb_underglow.c
index 7382618..40d99c7 100644
--- a/app/src/rgb_underglow.c
+++ b/app/src/rgb_underglow.c
@@ -29,7 +29,7 @@ LOG_MODULE_DECLARE(zmk, CONFIG_ZMK_LOG_LEVEL);
#define BRT_MAX 100
BUILD_ASSERT(CONFIG_ZMK_RGB_UNDERGLOW_BRT_MIN <= CONFIG_ZMK_RGB_UNDERGLOW_BRT_MAX,
- "ERROR: RGB underglow maximum brightness is less than minimum brightness");
+ "ERROR: RGB underglow maximum brightness is less than minimum brightness");
enum rgb_underglow_effect {
UNDERGLOW_EFFECT_SOLID,
@@ -59,7 +59,7 @@ static const struct device *ext_power;
static struct zmk_led_hsb hsb_scale_min_max(struct zmk_led_hsb hsb) {
hsb.b = CONFIG_ZMK_RGB_UNDERGLOW_BRT_MIN +
- (CONFIG_ZMK_RGB_UNDERGLOW_BRT_MAX - CONFIG_ZMK_RGB_UNDERGLOW_BRT_MIN) * hsb.b / BRT_MAX;
+ (CONFIG_ZMK_RGB_UNDERGLOW_BRT_MAX - CONFIG_ZMK_RGB_UNDERGLOW_BRT_MIN) * hsb.b / BRT_MAX;
return hsb;
}