diff options
| author | Matthes W <48785515+matthesinator@users.noreply.github.com> | 2021-05-17 02:59:02 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-05-16 20:59:02 -0400 |
| commit | 6c7450dad7c3651e0aae7ebaeb6c3cf15bde5112 (patch) | |
| tree | c477c2535e2842aa2caebb559fd7090111488618 /quantum/rgblight.h | |
| parent | c14fa1e28f4efb89800680ba92278c56321c2362 (diff) | |
| download | qmk_firmware-6c7450dad7c3651e0aae7ebaeb6c3cf15bde5112.tar.gz qmk_firmware-6c7450dad7c3651e0aae7ebaeb6c3cf15bde5112.zip | |
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.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/quantum/rgblight.h b/quantum/rgblight.h index 6fb3ab938..bec2c6695 100644 --- a/quantum/rgblight.h +++ b/quantum/rgblight.h | |||
| @@ -222,6 +222,7 @@ extern const rgblight_segment_t *const *rgblight_layers; | |||
| 222 | # ifdef RGBLIGHT_LAYER_BLINK | 222 | # ifdef RGBLIGHT_LAYER_BLINK |
| 223 | # define RGBLIGHT_USE_TIMER | 223 | # define RGBLIGHT_USE_TIMER |
| 224 | void rgblight_blink_layer(uint8_t layer, uint16_t duration_ms); | 224 | void rgblight_blink_layer(uint8_t layer, uint16_t duration_ms); |
| 225 | void rgblight_blink_layer_repeat(uint8_t layer, uint16_t duration_ms, uint8_t times); | ||
| 225 | # endif | 226 | # endif |
| 226 | 227 | ||
| 227 | # endif | 228 | # endif |
