summaryrefslogtreecommitdiffstats
path: root/quantum/rgblight.h
diff options
context:
space:
mode:
authorMatthes W <48785515+matthesinator@users.noreply.github.com>2021-05-17 02:59:02 +0200
committerGitHub <noreply@github.com>2021-05-16 20:59:02 -0400
commit6c7450dad7c3651e0aae7ebaeb6c3cf15bde5112 (patch)
treec477c2535e2842aa2caebb559fd7090111488618 /quantum/rgblight.h
parentc14fa1e28f4efb89800680ba92278c56321c2362 (diff)
Add function to allow repeated blinking of one layer (#12237)
* Implement function rgblight_blink_layer_repeat to allow repeated blinking of one layer at a time * Update doc * Rework rgblight blinking according to requested change * optimize storage
Diffstat (limited to 'quantum/rgblight.h')
-rw-r--r--quantum/rgblight.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/quantum/rgblight.h b/quantum/rgblight.h
index 6fb3ab9380..bec2c66955 100644
--- a/quantum/rgblight.h
+++ b/quantum/rgblight.h
@@ -222,6 +222,7 @@ extern const rgblight_segment_t *const *rgblight_layers;
# ifdef RGBLIGHT_LAYER_BLINK
# define RGBLIGHT_USE_TIMER
void rgblight_blink_layer(uint8_t layer, uint16_t duration_ms);
+void rgblight_blink_layer_repeat(uint8_t layer, uint16_t duration_ms, uint8_t times);
# endif
# endif